AbsoluteDashing

AbsoluteDashing[{d1, d2, ...}]
is a graphics directive which specifies that lines which follow are to be drawn dashed, with successive segments having absolute lengths , , ... (repeated cyclically).

AbsoluteDashing[d]
is equivalent to AbsoluteDashing[{d, d}].

DetailsDetails

  • The absolute lengths are measured in units of printer's points, equal before magnification to of an inch.
  • AbsoluteDashing[{}] specifies that lines should be solid. »
  • AbsoluteDashing can be used in both two- and three-dimensional graphics, as well as in Style specifications.
  • The following symbolic forms for d can be used: Tiny, Small, Medium, and Large. »
  • If a segment has a length specified as 0, it is drawn as a dot whose diameter is the thickness of the line.

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

Specify the dashing of lines as successive segments with lengths in printer's points:

In[1]:=
Click for copyable input
Out[1]=
In[1]:=
Click for copyable input
Out[1]=

Use Dashed, Dotted, and DotDashed to specify predefined absolute dashings:

In[1]:=
Click for copyable input
Out[1]=
New in 2 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »