Skip to main content

Labeled

Wolfram Kernel
Execution environment
Labeled[expr_, lbl_, pos_:Bottom]

displays expr labeled with lbl at pos

Options

The same as for Style

Examples

Simple box with a label centered at the bottom

Labeled[Framed[{a, b, c, d}], lbl]

Label at the right

Labeled[Framed[{a, b, c, d}], lbl, Right]

Dynamic example with InputButton

Module[{radius = 10.0}, 
Labeled[Graphics[Disk[{0,0}, radius // Offload],
TransitionDuration->500, ImagePadding->None
], EventHandler[InputButton["Collapse/Expand"], Function[state, radius = 1.0/radius]], Background->Yellow]
]