Labeled
Labeled[expr,lbl]
displays expr labeled with lbl.
Labeled[expr,lbl,pos]
places lbl at a position specified by pos.
Labeled[expr,{lbl1,lbl2,…},{pos1,…}]
places the lbli at positions posi.
Details and Options
- Labeled can be used with graphics or any other expression.
- Possible forms for the posi are:
-
side centered on the specified side {side,align} on the specified side with the specified alignment - Possible forms for side include Bottom, Left, Top, Right.
- Possible forms for align include Center, Left, Right, Bottom, Top.
- In charting functions such as BarChart and PieChart, certain additional special positions such as Above and "RadialCenter" are supported.
- Labeled[expr,lbls,All] is equivalent to Labeled[expr,lbls,{Bottom,Left,Top,Right}].
- The effective default for pos is normally Bottom.
- Labeled[expr,…] does not affect linewrapping of expr.
- The following options can be given:
-
Alignment {Center,Baseline} horizontal and vertical alignment of elements Background None what background colors to use BaselinePosition Automatic what to align with a surrounding text baseline BaseStyle {} base style specifications for the labeled expression ContentSize Automatic the absolute size for the content area Frame None whether to draw a frame FrameMargins 0 margins to leave inside the frame FrameStyle Automatic styles to use for frames ImageMargins 0 margins to add outside the display area LabelStyle {} style specifications for labels RotateLabel False whether to rotate left and right labels RoundingRadius 0 radius for rounded corners Spacings Automatic horizontal and vertical label spacings - The settings for BaseStyle and LabelStyle are appended to the default styles typically given by the "Labeled" and "LabeledLabel" styles in the current stylesheet.
Examples
open allclose allScope (5)
Options (18)
FrameMargins (2)
ImageMargins (1)
LabelStyle (2)
Applications (2)
Wolfram Research (2007), Labeled, Wolfram Language function, https://reference.wolfram.com/language/ref/Labeled.html (updated 2019).
Text
Wolfram Research (2007), Labeled, Wolfram Language function, https://reference.wolfram.com/language/ref/Labeled.html (updated 2019).
CMS
Wolfram Language. 2007. "Labeled." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/Labeled.html.
APA
Wolfram Language. (2007). Labeled. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Labeled.html