Dotted
是一个图形指令,指明随后的线应当绘制为点线.
范例
打开所有单元 关闭所有单元基本范例 (2)
范围 (2)
用 EdgeForm 绘制点线边:
Graphics[{Pink, EdgeForm[Dotted], Rectangle[]}]Graphics3D[{EdgeForm[Dotted], Cuboid[]}, Boxed -> False]Plot[Sin[x], {x, 0, 2Pi}, PlotStyle -> Dotted]属性和关系 (3)
Dotted 等价于 Dashing[{0,Small}]:
DottedDashing 和 AbsoluteDashing 提供了大量的绘制方法:
Table[Graphics[{Dashing[{r, 0.1 - r}], Line[{{0, 0}, {2, 1}}]}], {r, {0.01, 0.03, 0.05, 0.08}}]Table[Graphics[{AbsoluteDashing[{d, 15 - d}], Line[{{0, 0}, {2, 1}}]}], {d, {2, 5, 8, 12}}]Dotted 是绝对的点线,不受图像尺寸的影响:
Table[Graphics[{Dotted, Line[{{0, 0}, {2, 1}}]}, ImageSize -> s], {s, {50, 70, 100}}]相关指南
-
▪
- 图形指令
文本
Wolfram Research (2007),Dotted,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Dotted.html.
CMS
Wolfram 语言. 2007. "Dotted." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/Dotted.html.
APA
Wolfram 语言. (2007). Dotted. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Dotted.html 年
BibTeX
@misc{reference.wolfram_2026_dotted, author="Wolfram Research", title="{Dotted}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Dotted.html}", note=[Accessed: 10-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_dotted, organization={Wolfram Research}, title={Dotted}, year={2007}, url={https://reference.wolfram.com/language/ref/Dotted.html}, note=[Accessed: 10-September-2026]}