LabelStyle

LabelStyle

is an option for formatting and related constructs that specifies the style to use in displaying their label-like elements.

Details

  • Any style specification as used in Style can be used as a setting for LabelStyle.
  • Typical forms of settings include:
  • "style"a named style from the current stylesheets
    {opt1->val1,}a list of explicit option settings
    {"style",opt1->val1,}a named style modified by option settings
  • Color directives such as Red, as well as text specifications such as Bold or Small, can be given in place of options, just as in Style.
  • Giving the option setting LabelStyle->spec is effectively equivalent to replacing the label-like elements of a formatting or related construct by Style[label,spec].
  • Any outside styles not explicitly overridden by settings in LabelStyle will still be used.
  • LabelStyle is effectively applied after DefaultLabelStyle.

Examples

open allclose all

Basic Examples  (2)

Specify overall style of all the label-like elements:

Frame labels are affected by LabelStyle:

Scope  (2)

Use compounded styles, using Directive:

Individually styled labels can be used with LabelStyle and have higher priority:

Properties & Relations  (4)

AxesStyle can be used together with LabelStyle and has higher priority:

TicksStyle can be used together with LabelStyle and has higher priority:

FrameStyle can be used together with LabelStyle and has higher priority:

FrameTicksStyle can be used together with LabelStyle and has higher priority:

Neat Examples  (1)

Interactive manipulation of label style:

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

Text

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2021_labelstyle, organization={Wolfram Research}, title={LabelStyle}, year={2008}, url={https://reference.wolfram.com/language/ref/LabelStyle.html}, note=[Accessed: 01-August-2021 ]}

CMS

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

APA

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