This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
 Built-in Mathematica Symbol Tutorials »| See Also »| More About »

# Frame

 Frameis an option for Graphics, Grid and other constructs that specifies whether to include a frame.
• The following basic settings can be given:
 True draw a frame around the whole object False or None draw no frame All draw frames around each entry in Grid, etc.
• For Graphics, Plot and related functions, Frame->{{left, right}, {bottom, top}} specifies whether to draw a frame on each edge. With the default setting , ticks are included whenever a frame is drawn.
• For Grid and related constructs, lists of settings can be given. Common cases include:
 {All,False} put frames at all horizontal positions (column lines) {False,All} put frames at all vertical positions (row lines) {-1->True} a frame around the last column {False,-1->True} a frame around the last row
• General settings for Frame in Grid and related constructs can be given as:
 spec apply spec to all items {specx} apply specx at successive horizontal positions {specx,specy} apply speck at successive horizontal and vertical positions also allow explicit rules for individual i, j elements
• The speck can have the following forms:
 {s1,s2,...,sn} use s1 through sn; then use defaults {{c}} use c in all cases {{c1,c2}} alternate between c1 and c2 {{c1,c2,...}} cycle through all ci {s,{c}} use s, then repeatedly use c {s1,{c},sn} use s1, then repeatedly use c, but use sn at the end {s1,s2,...,{c1,c2,...},sm,...,sn} use the first sequence of si at the beginning, then cyclically use the ci, then use the last sequence of si at the end {s1,s2,...,{},sm,...,sn} use the first sequence of si at the beginning and the last sequence at the end {i1->v1,i2->v2,...} specify what to use at positions ik {spec,rules} use rules to override specifications in spec
• With settings of the form {s1, s2, ..., {...}, sm, ..., sn}, if there are more si specified than items across the grid, si from the beginning are used for the first items, and ones from the end are used for the last items.
• Rules of the form {{imin, imax}, {jmin, jmax}}->v can be used to specify frames for regions of a grid.
Draw a frame around a plot:
 Out[1]=

Put a frame on the left and right edges:
 Out[1]=

Put a frame around a grid:
 Out[1]=
Frame all elements in the grid:
 Out[2]=

Specify overall frame style, including frame ticks and frame tick labels, using FrameStyle:
 Out[1]=
 Scope   (9)
 Applications   (1)
New in 2 | Last modified in 6