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.

Details

  • 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.

Examples

open allclose all

Basic Examples  (3)

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

Set the thickness of edges of polygons:

Set the thicknesses of lines in plots using PlotStyle:

Scope  (4)

Thickness Specifications  (1)

Symbolic values for predefined absolute thicknesses:

Primitives Affected  (3)

Specify the thickness of curve primitives:

Specify the thickness of edges in 2D by using EdgeForm:

Specify the thickness of edges in 3D by using EdgeForm:

Properties & Relations  (3)

Use Thick and Thin to specify predefined absolute thicknesses:

Thickness defines the thickness as a fraction of the total width of the graphic:

Thickness depends on the image size:

AbsoluteThickness defines the thickness of lines in units of printer's points:

AbsoluteThickness is independent of the image size:

Possible Issues  (1)

Thick lines can be clipped by a frame without ImagePadding:

ImagePadding->All leaves enough padding for thick lines:

Neat Examples  (1)

Introduced in 1988
 (1.0)
 |
Updated in 2007
 (6.0)