This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

AxesLabel

AxesLabel
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 . »
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:
Place a label for the axis in 2D:
In[1]:=
Click for copyable input
Out[1]=
Place a label for the axis in 3D:
In[2]:=
Click for copyable input
Out[2]=
 
Specify a label for each axis:
In[1]:=
Click for copyable input
Out[1]=
 
Use labels based on variables specified in Plot3D:
In[1]:=
Click for copyable input
Out[1]=
 
Overall style of all the label-like elements can be specified by LabelStyle:
In[1]:=
Click for copyable input
Out[1]=
Labels use TraditionalForm by default:
Use StandardForm instead:
Individually styled labels can be used together with LabelStyle, and have higher priority:
Use labels based on variables specified in Plot and Plot3D:
Any graphic can be used as a label:
The overall output format can be specified using FormatType:
When different format types are combined, the result is likely to be unpredictable:
This is equivalent to:
Use 3D graphics labels:
Use dynamic checkboxes as the axes labels:
New in 1 | Last modified in 6