LabelStyle
is an option for formatting and related constructs that specifies the style to use in displaying their label-like elements.
Details
![](Files/LabelStyle.en/details_1.png)
- 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 allBasic Examples (2)
Scope (2)
Use compounded styles, using Directive:
Individually styled labels can be used with LabelStyle and have higher priority:
Properties & Relations (4)
LabelStyle settings override AxesStyle settings when styling tick labels:
LabelStyle settings override TicksStyle settings when styling tick labels:
FrameStyle can be used together with LabelStyle and has higher priority:
FrameTicksStyle can be used together with LabelStyle and has higher priority:
Text
Wolfram Research (2007), LabelStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/LabelStyle.html (updated 2008).
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