Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Basic Options  /
Ticks

  • Ticks is an option for graphics functions that specifies tick marks for axes.
  • The following settings can be given for Ticks:
  • 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:
  • 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. The expressions are formatted in OutputForm.
  • Tick mark lengths are given as a fraction of the distance across the whole plot.
  • Tick mark styles can involve graphics directives such as RGBColor and Thickness.
  • 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.
  • FullOptions gives the explicit form of Ticks specifications when Automatic settings are given.
  • See the Mathematica book: Section 1.9.3, Section 2.9.5Section 2.9.13.
  • See also: Axes, AxesLabel, FrameTicks, GridLines, MeshRange.

    Further Examples

    Compare the tick marks on the two plots.

    Evaluate the cells to see the graphics.

    In[1]:=

    In[2]:=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.