This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

TicksStyle

TicksStyle
is an option for graphics functions which specifies how ticks should be rendered.
  • 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 specifies that ticks on different axes should use styles xstyle, ....
  • 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.
Specify overall ticks style, including the tick labels:
Specify ticks style for each axis:
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]=
Styles associated with lines affect ticks:
Styles associated with fonts affect tick labels:
Styles can be combined by Directive:
TicksStyle affects ticks and tick labels:
LabelStyle offers overall style of all the label-like elements, including tick labels:
TicksStyle can be used together with LabelStyle and has higher priority:
AxesStyle affects the axes, axes labels, ticks, and tick labels:
TicksStyle can be used together with AxesStyle, and has higher priority:
Individually styled ticks can be used with other styles, and have higher priority:
Frame ticks are not affected by TicksStyle:
Use FrameTicksStyle instead:
New in 6 | Last modified in 7