This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)


Updated In 7 Graphic
displays as a panel containing expr.
Panel[expr, title]
gives the panel the specified title.
Panel[expr, title, pos]
places title at a position specified by pos.
Panel[expr, {title1, title2, ...}, {pos1, ...}]
places titlei at position posi.
displays an empty panel.
  • Deploy[Panel[expr]] produces a deployed version, in which elements such as sliders and buttons are active, but general editing and selection is disabled.
  • Panel by default displays expr in "Panel" style, which typically uses the system panel font.
  • Possible forms for the posi are:
sidecentered on the specified side
{side,align}on the specified side with the specified alignment
  • The following options can be given:
Alignment{Automatic,Automatic}how to align elements in the panel
AppearanceAutomaticthe overall appearance of the panel
BackgroundAutomaticpanel background color
BaselinePositionAutomatichow to align with a surrounding text baseline
BaseStyle{}base style specifications for the panel
EnabledAutomaticwhether the panel is enabled, or grayed out
FrameMarginsAutomaticmargins inside the frame of the panel
ImageMargins0margins around the image of the displayed panel
ImageSizeAutomaticthe overall image size of the displayed panel
LabelStyle{}style specifications for labels
RotateLabelFalsewhether to rotate left and right labels
SpacingsAutomatichorizontal and vertical label spacings
  • Typical possible settings for the Appearance option include "DialogBox", "Frameless" and "Palette".
  • The settings for BaseStyle and LabelStyle are appended to the default styles typically given by the "Panel" and "PanelLabel" styles in the current stylesheet.
Put any expression in a panel:
A panel with titles on several sides:
Align expressions within the panel:
Align with surrounding text:
Add margins within the panel:
Add margins outside of the panel:
Specify the overall image size:
Use ImageSize to force line breaking at a certain width:
Flip between a digital and analog clock:
Use Panel to accentuate the title and control area :
Define a graphic representing the predator vs. prey differential equation:
Use Panel to accentuate the title and control area:
New in 6 | Last modified in 7