is a graphics directive which specifies that lines which follow are to be drawn with absolute thickness d.
AbsoluteThickness
is a graphics directive which specifies that lines which follow are to be drawn with absolute thickness d.
Details
- The absolute thickness is measured in units of printer's points, equal before magnification to
of an inch. - AbsoluteThickness 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.
- The initial default is AbsoluteThickness[0.5].
Examples
open all close allBasic Examples (3)
Specify the thickness of lines in units of printer's points:
Table[Graphics[{AbsoluteThickness[d], Line[{{1, 0}, {2, 1}, {3, 0}, {4, 1}}]}], {d, {0.5, 2, 5}}]Table[Graphics3D[{AbsoluteThickness[i], Line[{{1, 1, 0}, {2, 2, 1}, {3, 3, 0}, {4, 4, 1}}]}], {i, {0.5, 2, 5}}]Use Thick and Thin to specify predefined absolute thicknesses:
{Graphics[{Thin, Line[{{0, 0}, {2, 1}}]}], Graphics[{Thick, Line[{{0, 0}, {2, 1}}]}]}Symbolic values for predefined absolute thicknesses:
Table[Graphics[{AbsoluteThickness[d], Line[{{1, 0}, {2, 1}, {3, 0}, {4, 1}}]}], {d, {Tiny, Small, Medium, Large}}]Applications (1)
Properties & Relations (2)
AbsoluteThickness defines the thickness of lines in units of printer's points:
Graphics[{AbsoluteThickness[15], Line[{{-1, 0}, {1, 0}}], Text[Style["15 points", Red, FontSize -> 15], {0, 0}]}]AbsoluteThickness is independent of the image size:
Table[Graphics[{AbsoluteThickness[3], Line[{{0, 0}, {2, 1}}]}, ImageSize -> s], {s, {50, 100, 150}}]Thickness defines the thickness as a fraction of the total width of the graphic:
Graphics[{Thickness[.5], Line[{{1 / 2, 0}, {1 / 2, 1}}]}, Frame -> True, PlotRange -> {{0, 1}, {0, 1}}, PlotRangeClipping -> True]Thickness depends on the image size:
Table[Graphics[{Thickness[.03], Line[{{0, 0}, {2, 1}}]}, ImageSize -> s], {s, {50, 100, 150}}]Tech Notes
Related Guides
History
Introduced in 1991 (2.0) | Updated in 2007 (6.0)
Text
Wolfram Research (1991), AbsoluteThickness, Wolfram Language function, https://reference.wolfram.com/language/ref/AbsoluteThickness.html (updated 2007).
CMS
Wolfram Language. 1991. "AbsoluteThickness." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/AbsoluteThickness.html.
APA
Wolfram Language. (1991). AbsoluteThickness. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AbsoluteThickness.html
BibTeX
@misc{reference.wolfram_2026_absolutethickness, author="Wolfram Research", title="{AbsoluteThickness}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/AbsoluteThickness.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_absolutethickness, organization={Wolfram Research}, title={AbsoluteThickness}, year={2007}, url={https://reference.wolfram.com/language/ref/AbsoluteThickness.html}, note=[Accessed: 13-June-2026]}