How to specify arbitrarily the thickness of lines or size of points in mathematica

我的梦境 提交于 2019-12-22 17:06:25

问题


I know there are options such as PointSize[Large] or PlotStyle -> Thick, but what if I want to even larger or thicker? Thank you.


回答1:


PointSize[number] -- size relative to the image

AbsolutePointSize[number] -- absolute size in points

Thickness[number] -- thickness relative to the image

AbsoluteThickness[number] -- absolute thickness in points

Basically the size given by PointSize[0.1] and Thickness[0.1] scale as you resize the graphic. AbsolutePointSize[10] and AbsoluteThickness[10] are always the same size, regardless of the size of the graphic.




回答2:


(sorry, new user here - is it appropriate to ask a closely related "follow up" question in this manner? If not please advise and I will delete...)

EDIT: moved to a standalone question

EDIT: @Qiang re: obtain the origin information, obtain the plot range information etc. you'll find a lot of what you want from AbsoluteOptions[]



来源:https://stackoverflow.com/questions/5162886/how-to-specify-arbitrarily-the-thickness-of-lines-or-size-of-points-in-mathemati

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!