Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Graphics Options & Styling > Graphics Annotation & Appearance > Axes >

Axes

Axes
is an option for graphics functions that specifies whether axes should be drawn.
  • In two dimensions, axes are drawn to cross at the position specified by the option AxesOrigin. »
  • In three dimensions, axes are drawn on the edges of the bounding box specified by the option AxesEdge. »
Draw all the axes:
Draw the axis but no axis:
Draw the axis only:
Specify overall axes style, including axes labels, ticks, and tick labels, using AxesStyle:
Draw all the axes:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Draw the axis but no axis:
In[1]:=
Click for copyable input
Out[1]=
 
Draw the axis only:
In[1]:=
Click for copyable input
Out[1]=
 
Specify overall axes style, including axes labels, ticks, and tick labels, using AxesStyle:
In[1]:=
Click for copyable input
Out[1]=
Determine AxesOrigin automatically:
Specify AxesOrigin explicitly:
In 3D, axes are drawn on the bounding box edges:
Choose the bounding box edges automatically to draw the axes:
Specify the edges explicitly, using AxesEdge:
Specify the style of each axis:
Display the axes without the bounding box:
Specify a label for each axis:
Use labels based on variables specified in Plot3D:
Draw the axes but no tick marks:
Place tick marks automatically:
Draw tick marks at the specified positions:
In 2D, the axes are drawn above the graphics:
Objects in Epilog are drawn on top of any graphics, including the axes:
If the option Frame is set to True, the ticks are drawn on the edges of the frame:
GridLines puts grids across the image:
FaceGrids puts grids on the faces of the bounding box in 3D:
By default, DensityPlot and related functions display the frame, instead of the axes:
If Frame and Axes are both present, the axes ticks are suppressed:
Move the axes using a locator:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF