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