AxesOrigin

AxesOrigin

is an option for graphics functions that specifies where any axes drawn should cross.

Details

  • In 2D graphics, AxesOrigin->{x,y} specifies that the axes should cross at the point {x,y}.
  • In 3D graphics, AxesOrigin->{x,y,z} specifies that the axes should cross at the point {x,y,z}.
  • In 2D graphics, AxesOrigin->Automatic uses an internal algorithm to determine where the axes should cross. If the point is within, or close to, the plotting region, then it is usually chosen as the axes origin.
  • In contour and density plots, AxesOrigin->Automatic puts axes outside the plotting area.
  • In 3D graphics, AxesOrigin->Automatic puts axes on the outer box.

Examples

open allclose all

Basic Examples  (2)

Determine the axes origin automatically:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Specify the axes origin explicitly:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (2)

Properties & Relations  (1)

Neat Examples  (1)

See Also

Axes  AxesEdge

Tutorials

Introduced in 1991
(2.0)
| Updated in 2008
(7.0)