LabeledGraphicsBox
LabeledGraphicsBox[box,lbl]
is a low-level construct that represents a graphics box with a label attached to it.
LabeledGraphicsBox[box,lbl,pos]
places lbl at a position specified by pos.
LabeledGraphicsBox[box,{lbl1,lbl2,…},{pos1,pos2,…}]
places the lbli at positions posi.
Details and Options
- LabeledGraphicsBox is one possible low-level representation of Labeled. Except for low-level notebook expression manipulation, LabeledGraphicsBox should not need to be used directly.
- box must be a GraphicsBox, Graphics3DBox or a LabeledGraphicsBox.
- Selecting a LabeledGraphicsBox will result in a graphics-style selection with resize handles that can be used to resize the whole construct.
- Resizing a LabeledGraphicsBox will automatically resize box to use the full available space, minus the space required to draw labels.
- 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.
- The effective default for pos is normally Bottom.
- The following options can be given:
-
BaselinePosition Automatic the position of the base line for the box BaseStyle "LabeledGraphics" base style specifications for the whole box DefaultLabelStyle "LabeledGraphicsLabel" base style specifications for the whole box ImageMargins 0 margins to add outside the display area ImageSize Automatic the overall image size of the box LabelStyle Automatic style specification for the lbli Spacings Automatic horizontal and vertical label spacings - ImageSizeAutomatic will cause LabeledGraphicsBox to display box at its specified size and add additional space as needed to fit the lbli. Other values will set the absolute size of the entire construct and resize box automatically to fit in the available space.
- LabeledGraphicsBox is used in the typesetting of some Labeled constructs.
Examples
open allclose allBasic Examples (4)
Scope (15)
Label Content (6)
Label Placement (4)
Box Usage (5)
Create a nested LabeledGraphicsBox:
Use a LabeledGraphicsBox as a label:
Use multiple levels of nested LabeledGraphicsBox instances using nested LabeledGraphicsBox instances as labels:
Use LabeledGraphicsBox as an Inset:
Use LabeledGraphicsBox as an Inset in a 3D graphic:
Options (15)
ImageMargins (1)
ImageSize (1)
RotateLabel (4)
Text
Wolfram Research (2025), LabeledGraphicsBox, Wolfram Language function, https://reference.wolfram.com/language/ref/LabeledGraphicsBox.html.
CMS
Wolfram Language. 2025. "LabeledGraphicsBox." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LabeledGraphicsBox.html.
APA
Wolfram Language. (2025). LabeledGraphicsBox. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LabeledGraphicsBox.html