This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Graphics Primitives  /
Dashing

  • Dashing[ , , ... ] is a two-dimensional graphics directive which specifies that lines which follow are to be drawn dashed, with successive segments of lengths , , ... (repeated cyclically). The is given as a fraction of the total width of the graph.
  • Dashing can be used in both two- and three-dimensional graphics.
  • Dashing[{ }] specifies that lines should be solid.
  • See the Mathematica book: Section 2.9.3.
  • See also: AbsoluteDashing, Thickness, GrayLevel, Hue, RGBColor, PlotStyle.

    Further Examples

    This draws a circle with dashes three times as long as the spaces between them.

    Evaluate the cell to see the graphic.

    In[1]:=