This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Dashing

Dashing
is a two-dimensional graphics directive specifying that lines that follow are to be drawn dashed, with successive segments of lengths , , ... (repeated cyclically). The are given as a fraction of the total width of the graph.
Dashing[r]
is equivalent to Dashing.
  • Dashing can be used in both two- and three-dimensional graphics, as well as in Style specifications.
  • The following symbolic forms for r can be used: Tiny, Small, Medium, and Large. These specify absolute segment lengths independent of the total width of the graphic. »
  • If a segment has a length specified as , it is drawn as a dot whose diameter is the thickness of the line. »
Specify the dashing of lines as successive segments with scaled lengths:
Set the dashing of edges of polygons:
Set the dashing of lines in plots using PlotStyle:
Set the dashing of the frame:
Specify the dashing of lines as successive segments with scaled lengths:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Set the dashing of edges of polygons:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
 
Set the dashing of lines in plots using PlotStyle:
In[1]:=
Click for copyable input
Out[1]=
 
Set the dashing of the frame:
In[1]:=
Click for copyable input
Out[1]=
No dashing:
Dashing[r] is equivalent to Dashing:
Symbolic values for predefined absolute dashings:
Specify multiple cyclic segments:
Specify the dashing of the shaft of an arrow:
Specify the dashing of edges of primitives using EdgeForm:
Use Dashed, Dotted, and DotDashed to specify predefined absolute dashings:
Dashing defines the length of a segment as a fraction of the total width of the graphic:
Dashing depends on the image size:
AbsoluteDashing defines the length of a segment in units of printer's points:
AbsoluteDashing is independent of the image size:
The thickness of segments can be specified by Thickness:
A segment with length 0 specifies a dot of the size defined by Thickness:
Randomly dashed circles:
A curve with a random dash pattern:
New in 1 | Last modified in 6