Mathematica 9 is now available
 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]:=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.