AxesStyle

AxesStyle

is an option for graphics functions that specifies how axes should be rendered.

Details

  • AxesStyle can be used in both two- and three-dimensional graphics.
  • AxesStyle->style specifies that all axes are to be generated with the specified style.
  • AxesStyle->{xstyle,ystyle,} specifies that axes should use graphics directives xstyle, .
  • Styles can be specified using graphics directives such as Thick, Red, and Dashed as well as Thickness, Dashing, and combinations given by Directive.
  • AxesStyle gives both the style of the axes themselves, and the default style for labels and ticks. TicksStyle overrides specifications for ticks.
  • The default style of axes is specified by the option DefaultAxesStyle.

Examples

open allclose all

Basic Examples  (2)

Specify overall axes style, including the ticks and the tick labels:

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

Specify the style of each axis:

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

Scope  (3)

Generalizations & Extensions  (1)

Properties & Relations  (4)

See Also

Axes  Prolog  Epilog  PlotStyle  TicksStyle  GridLinesStyle  FrameStyle  DefaultAxesStyle

Tutorials

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