AxesStyle

AxesStyle

is an option for graphics functions that specifies how axes should be rendered.

Details

  • AxesStyle can be used in both two- and three-dimensional graphics.
  • AxesStyle->style specifies that all axes are to be generated with the specified style.
  • AxesStyle->{xstyle,ystyle,} specifies that axes should use graphics directives xstyle, .
  • Styles can be specified using graphics directives such as Thick, Red, and Dashed as well as Thickness, Dashing, and combinations given by Directive.
  • AxesStyle gives both the style of the axes themselves, and the default style for labels and ticks. TicksStyle overrides specifications for ticks.
  • The default style of axes is specified by the option DefaultAxesStyle.

Examples

open allclose all

Basic Examples  (2)

Specify overall axes style, including the ticks and the tick labels:

Specify the style of each axis:

Scope  (3)

Styles associated with lines affect the axes and ticks:

Styles associated with fonts affect tick labels:

Styles can be combined by Directive:

Generalizations & Extensions  (1)

Use Arrowheads to style the axes:

Properties & Relations  (4)

AxesStyle affects the axes, axes labels, ticks, and tick labels:

LabelStyle offers overall style of all the label-like elements, including axes and tick labels:

LabelStyle settings override AxesStyle settings when styling tick labels:

TicksStyle affects ticks and tick labels, but nothing else:

TicksStyle settings override AxesStyle settings when styling ticks and tick labels:

In 3D, BoxStyle is used to specify the styles of the bounding box edges, excluding the axes:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_axesstyle, author="Wolfram Research", title="{AxesStyle}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/AxesStyle.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_axesstyle, organization={Wolfram Research}, title={AxesStyle}, year={2008}, url={https://reference.wolfram.com/language/ref/AxesStyle.html}, note=[Accessed: 22-November-2024 ]}