FrameTicks

FrameTicks

is an option for 2D graphics functions that specifies tick marks for the edges of a frame.

Details

  • 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.

Examples

open allclose all

Basic Examples  (4)

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:

Scope  (10)

FrameTicks Positions and Labeling  (4)

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:

FrameTicks Styling  (6)

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:

Generalizations & Extensions  (1)

Specify a frame ticks function applied to xmin and xmax values for each direction:

Properties & Relations  (6)

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:

Wolfram Research (1991), FrameTicks, Wolfram Language function, https://reference.wolfram.com/language/ref/FrameTicks.html (updated 2008).

Text

Wolfram Research (1991), FrameTicks, Wolfram Language function, https://reference.wolfram.com/language/ref/FrameTicks.html (updated 2008).

BibTeX

@misc{reference.wolfram_2020_frameticks, author="Wolfram Research", title="{FrameTicks}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/FrameTicks.html}", note=[Accessed: 28-February-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_frameticks, organization={Wolfram Research}, title={FrameTicks}, year={2008}, url={https://reference.wolfram.com/language/ref/FrameTicks.html}, note=[Accessed: 28-February-2021 ]}

CMS

Wolfram Language. 1991. "FrameTicks." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/FrameTicks.html.

APA

Wolfram Language. (1991). FrameTicks. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FrameTicks.html