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

Ticks

Ticks
is an option for graphics functions that specifies tick marks for axes.
  • The following settings can be given for Ticks:
Noneno tick marks drawn
Automatictick marks placed automatically
{xticks,yticks,...}tick mark options specified separately for each axis
  • With the Automatic setting, tick marks are usually placed at points whose coordinates have the minimum number of digits in their decimal representation.
  • For each axis, the following tick mark options can be given:
Noneno tick marks drawn
Automatictick mark positions and labels chosen automatically
{x1,x2,...}tick marks drawn at the specified positions
{{x1,label1},{x2,label2},...}tick marks drawn with the specified labels
{{x1,label1,len1},...}tick marks with specified scaled length
{{x1,label1,{plen1,mlen1}},...}
tick marks with specified lengths in the positive and negative directions
{{x1,label1,len1,style1},...}tick marks with specified styles
funca function to be applied to xmin, xmax to get the tick mark specification
  • If no explicit labels are given, the tick mark labels are given as the numerical values of the tick mark positions.
  • Any expression can be given as a tick mark label.
  • Tick mark lengths are given as a fraction of the distance across the whole plot.
  • Tick mark styles can involve any graphics directives.
  • The tick mark function func[xmin, xmax] may return any other tick mark option.
  • Ticks can be used in both two- and three-dimensional graphics.
  • TicksStyle gives default styles to use for tick marks and tick mark labels.
New in 1