AxisLabel

AxisLabel

is an option for AxisObject that specifies a label for the axis.

Details

  • The following settings can be used:
  • Noneno label
    labeluse label for the axis
    Placed[label,pos]use label positioned at pos
  • The label can be any expression, including strings, graphics and formulas.
  • Possible positions pos in Placed[label,pos] include:
  • "Start"the start of the axis
    "End"the end of the axis
    Centercentered along the axis
    Above,Below,Before,Afterplaced relative to the axis
  • By default, axis labels are displayed horizontally.
  • AxisObject[,RotateLabelrotation] can be used to rotate the axis label.
  • Possible settings for rotation are the same as for TickLabelOrientation:
  • "Horizontal"do not rotate labels
    "Vertical"rotate labels 90° counterclockwise
    "Parallel"rotate labels to be parallel to the axis
    "Perpendicular"rotate labels to be perpendicular to the axis
    θrotate labels counterclockwise from horizontal by angle

Examples

Basic Examples  (4)

The label is placed at the end of the axis by default:

Label the start of the axis:

Place the label close to the axis above or below it:

Before and after the axis:

Center the label along the axis:

Rotate the label to be parallel to the axis:

Wolfram Research (2021), AxisLabel, Wolfram Language function, https://reference.wolfram.com/language/ref/AxisLabel.html.

Text

Wolfram Research (2021), AxisLabel, Wolfram Language function, https://reference.wolfram.com/language/ref/AxisLabel.html.

BibTeX

@misc{reference.wolfram_2021_axislabel, author="Wolfram Research", title="{AxisLabel}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/AxisLabel.html}", note=[Accessed: 24-September-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_axislabel, organization={Wolfram Research}, title={AxisLabel}, year={2021}, url={https://reference.wolfram.com/language/ref/AxisLabel.html}, note=[Accessed: 24-September-2021 ]}

CMS

Wolfram Language. 2021. "AxisLabel." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AxisLabel.html.

APA

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