TicksStyle
This feature is not supported on the Wolfram Cloud.

TicksStyle
is an option for graphics functions which specifies how ticks should be rendered.

DetailsDetails

  • TicksStyle gives styles for both tick marks and tick labels.
  • TicksStyle can be used in both two and three-dimensional graphics.
  • TicksStyle->style specifies that all ticks are to be rendered by default with the specified style.
  • TicksStyle->{xstyle,ystyle,} specifies that ticks on different axes should use styles xstyle, .
  • Styles can be specified using graphics directives such as Thick, Red, and Dashed, as well as Thickness, RGBColor, Dashing, and combinations given by Directive. Styles can also contain rules for options such as FontSize and FontFamily.
  • Style specifications can refer to styles using style names from current stylesheets.
  • Any outside styles not explicitly overridden by settings in TicksStyle will still be used.
  • Explicit styles specified in the setting for Ticks can override styles specified in TicksStyle.
  • The default style of ticks is specified by the option DefaultTicksStyle.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Specify overall ticks style, including the tick labels:

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

Specify ticks style for each axis:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2007
(6.0)
| Updated in 2008
(7.0)