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)

Wolfram Research (1988), Thickness, Wolfram Language function, https://reference.wolfram.com/language/ref/Thickness.html (updated 2007).

Text

Wolfram Research (1988), Thickness, Wolfram Language function, https://reference.wolfram.com/language/ref/Thickness.html (updated 2007).

CMS

Wolfram Language. 1988. "Thickness." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/Thickness.html.

APA

Wolfram Language. (1988). Thickness. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Thickness.html

BibTeX

@misc{reference.wolfram_2024_thickness, author="Wolfram Research", title="{Thickness}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Thickness.html}", note=[Accessed: 13-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_thickness, organization={Wolfram Research}, title={Thickness}, year={2007}, url={https://reference.wolfram.com/language/ref/Thickness.html}, note=[Accessed: 13-November-2024 ]}