如何在mathematica中任意指定线条的粗细或点的大小
我知道有诸如 PointSize[Large]
或 PlotStyle ->; 之类的选项。厚,但是如果我想要更大或更厚怎么办?谢谢。
I know there are options such as PointSize[Large]
or PlotStyle -> Thick
, but what if I want to even larger or thicker? Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
PointSize[number]
-- 相对于图像的大小AbsolutePointSize[number]
-- 以点为单位的绝对大小Thickness[number]
-- 相对厚度到图像AbsoluteThickness[number]
-- 以磅为单位的绝对厚度基本上由
PointSize[0.1]
和Thickness[0.1]
给出的尺寸缩放为您调整图形的大小。无论图形大小如何,AbsolutePointSize[10]
和AbsoluteThickness[10]
始终具有相同的大小。PointSize[number]
-- size relative to the imageAbsolutePointSize[number]
-- absolute size in pointsThickness[number]
-- thickness relative to the imageAbsoluteThickness[number]
-- absolute thickness in pointsBasically the size given by
PointSize[0.1]
andThickness[0.1]
scale as you resize the graphic.AbsolutePointSize[10]
andAbsoluteThickness[10]
are always the same size, regardless of the size of the graphic.(抱歉,这里的新用户 - 以这种方式提出密切相关的“后续”问题是否合适?如果不,请告知,我将删除...)
编辑:移至 一个独立的问题
编辑:@Qiang回复: 获取原点信息,获取绘图范围信息等。你会从
AbsoluteOptions[]
中找到很多你想要的东西(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[]