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 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 ImageSize Automatic the overall image size of 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 allSee Also
Callout FrameLabel ChartLabels PlotLabels LabelingFunction LabelingSize Legended Underscript PlotLabel Column Panel Overlay Framed Tooltip ControlPlacement Graph
Tutorials
Related Guides
- Graph Visualization
- Chart Labeling, Legending & Annotation
- Graph Styling, Labeling, and Layout
- Viewers and Annotation
- Annotating & Combining Graphics
- User Interface Structuring & Layout
- Labels
- Chart Styling & Layout
- Data Visualization
- Function Visualization
- Palettes
- Graphics Annotation & Appearance
- Standalone Interfaces
Related Links
Introduced in 2007
(6.0)
| Updated in 2008 (7.0)