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

FrameTicks

FrameTicks
is an option for 2D graphics functions that specifies tick marks for the edges of a frame.
  • The following settings can be given for FrameTicks:
Noneno tick marks drawn
Automatictick marks placed automatically
Truetick marks placed automatically on bottom and left edges
Alltick marks placed automatically on all edges
{{left,right},{bottom,top}}tick mark options specified separately for each edge
  • When separate tick mark specifications are given for each edge, All specifies that tick mark labels should be included.
  • Automatic tick marks are usually placed at points whose coordinates have the minimum number of digits in their decimal representation.
  • For each edge, tick marks can be specified as described in the notes for Ticks.
  • FrameTicksStyle gives default styles to use for frame tick marks and tick mark labels.
  • Frame ticks are only shown if the frame itself is drawn, as specified by Frame.
Put a frame, but no ticks:
Place frame tick marks and labels automatically:
Place frame tick marks at the specified positions:
Specify overall frame ticks style, including frame tick labels, using FrameTicksStyle:
Put a frame, but no ticks:
In[1]:=
Click for copyable input
Out[1]=
 
Place frame tick marks and labels automatically:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Place frame tick marks at the specified positions:
In[1]:=
Click for copyable input
Out[1]=
 
Specify overall frame ticks style, including frame tick labels, using FrameTicksStyle:
In[1]:=
Click for copyable input
Out[1]=
Place frame ticks and labels on all the edges:
Place frame ticks on the left edge of the frame:
Place frame ticks on the right and top edges:
Draw frame ticks at the specified positions on the right and bottom edges:
Draw frame ticks at the specified positions with the specific labels:
Specify frame ticks with scaled lengths:
Specify frame ticks with scaled lengths in positive and negative directions:
Specify the style of each frame tick:
Specify overall frame ticks style, using FrameTicksStyle:
Specify frame ticks style for each edge:
Individually styled frame ticks can be used with FrameTicksStyle, and have higher priority:
Specify a frame ticks function applied to and values for each direction:
FrameTicksStyle affects frame ticks and frame tick labels:
LabelStyle offers overall style of all the label-like elements, including frame tick labels:
FrameTicksStyle can be used together with LabelStyle and has higher priority:
FrameStyle affects the style of the frame, frame labels, frame ticks, and frame tick labels:
FrameTicksStyle can be used together with FrameStyle and has higher priority:
Individually styled frame ticks can be used with other styles and have higher priority:
Ticks controls the ticks and tick labels on the axes:
Use DateListPlot to get frame ticks that correspond to date and time:
New in 2 | Last modified in 7