Thickness

Thickness[r]
is a graphics directive which specifies that lines which follow are to be drawn with thickness r. The thickness r is given as a fraction of the horizontal plot range.

DetailsDetails

  • Thickness 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 thicknesses independent of the overall size of the graphic.

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

Specify the thickness of lines as a fraction of the total width of the graphic:

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

Set the thickness of edges of polygons:

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

Set the thicknesses of lines in plots using PlotStyle:

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