is an option for graphics functions that specifies labels for axes.


  • The following settings can be used:
  • Noneno labels
    labellabel for y in 2D or z in 3D
    {lblx,lbly}labels for x and y
    {lblx,lbly,lblz}labels for x, y, and z
    Automaticlabels based on variables specified to Plot etc.
  • By default, axes labels in two-dimensional graphics are placed at the ends of the axes. In three-dimensional graphics, they are aligned with the middles of the axes.
  • Any expression can be specified as a label. It will be given by default in TraditionalForm. Arbitrary strings of text can be given as "text". »


open allclose all

Basic Examples  (4)

Place a label for the axis in 2D:

Place a label for the axis in 3D:

Specify a label for each axis:

Use labels based on variables specified in Plot3D:

Overall style of all the label-like elements can be specified by LabelStyle:

Scope  (2)

Labels use TraditionalForm by default:

Use StandardForm instead:

Individually styled labels can be used together with LabelStyle, and have higher priority:

Generalizations & Extensions  (2)

Use labels based on variables specified in Plot and Plot3D:

Any graphic can be used as a label:

Properties & Relations  (1)

The overall output format can be specified using FormatType:

Possible Issues  (1)

When different format types are combined, the result is likely to be unpredictable:

This is equivalent to:

Neat Examples  (2)

Use 3D graphics labels:

Use dynamic checkboxes as the axes labels:

Introduced in 1988
Updated in 2007