is a graphics directive specifying that lines that follow should be drawn dashed.
Dashed
is a graphics directive specifying that lines that follow should be drawn dashed.
Examples
open all close allBasic Examples (3)
Graphics[{Dashed, Line[{{0, 0}, {2, 1}}]}]Graphics3D[{Dashed, Line[{{0, 0, 0}, {2, 1, 1}}]}]Grid[Table[x, {4}, {7}], Frame -> All, FrameStyle -> Dashed]Plot[Sin[x], {x, 0, 2Pi}, PlotStyle -> Dashed]Scope (1)
Use EdgeForm to draw dashed edges:
Graphics[{Pink, EdgeForm[Dashed], Rectangle[]}]Graphics3D[{EdgeForm[Dashed], Cuboid[]}, Boxed -> False]Properties & Relations (3)
Dashed is equivalent to Dashing[{Small, Small}]:
DashedDashing and AbsoluteDashing provide richer ways to specify dashing:
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}}]Dashed is absolute dashing, independent of the image size:
Table[Graphics[{Dashed, Line[{{0, 0}, {2, 1}}]}, ImageSize -> s], {s, {50, 70, 100}}]See Also
Related Guides
History
Text
Wolfram Research (2007), Dashed, Wolfram Language function, https://reference.wolfram.com/language/ref/Dashed.html.
CMS
Wolfram Language. 2007. "Dashed." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Dashed.html.
APA
Wolfram Language. (2007). Dashed. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Dashed.html
BibTeX
@misc{reference.wolfram_2026_dashed, author="Wolfram Research", title="{Dashed}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Dashed.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_dashed, organization={Wolfram Research}, title={Dashed}, year={2007}, url={https://reference.wolfram.com/language/ref/Dashed.html}, note=[Accessed: 12-June-2026]}