With the default setting Ticks->Automatic, the Wolfram Language creates a certain number of major and minor tick marks, and places them on axes at positions which yield the minimum number of decimal digits in the tick labels. In some cases, however, you may want to specify the positions and properties of tick marks explicitly. You will need to do this, for example, if you want to have tick marks at multiples of , or if you want to put a nonlinear scale on an axis.
draw tick marks with the specified lengths in the positive and negative directions
draw tick marks with the specified styles
a function to be applied to xmin,xmax to get the tick mark option
Tick mark options for each axis.
This gives tick marks at specified positions on the axis, and chooses the tick marks automatically on the axis:
This adds tick marks with no labels at multiples of :
Particularly when you want to create complicated tick mark specifications, it is often convenient to define a "tick mark function" which creates the appropriate tick mark specification given the minimum and maximum values on a particular axis.
This defines a function which gives a list of tick mark positions with a spacing of 1:
This uses the units function to specify tick marks for the axis:
The Axes option allows you to draw a single pair of axes in a plot. Sometimes, however, you may instead want to show the scales for a plot on a frame, typically drawn around the whole plot. The option Frame allows you effectively to draw four axes, corresponding to the four edges of the frame around a plot.
Grid lines in the Wolfram Language work very much like tick marks. As with tick marks, you can specify explicit positions for grid lines. There is no label or length to specify for grid lines. However, you can specify a style.