DefaultAxesStyle

DefaultAxesStyle
is a low-level option for graphics functions that specifies the default style to use in displaying axes and axes-like constructs.

DetailsDetails

  • DefaultAxesStyle->style specifies that the axes-like elements should effectively be replaced by Style[axes,style].
  • AxesStyle is applied after DefaultAxesStyle.
  • The default setting for DefaultAxesStyle is typically different for different functions.
  • For Graphics, the default setting is DefaultAxesStyle->"GraphicsAxes", and in general for an object named obj it is typically obj.
  • DefaultAxesStyle->{} introduces no default style specifications, thereby effectively allowing all outside style specifications in.
  • DefaultAxesStyle->style makes any specifications in style override corresponding outside style specifications.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

The current setting for DefaultAxesStyle:

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

The default styles used:

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

Explicit settings for AxesStyle override DefaultAxesStyle:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)