This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# 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 draw no frame All draw frames around each entry in Grid, etc.
• For Graphics, Plot, and related functions, Frame specifies whether to draw a frame on each edge. With the default setting FrameTicks, 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 at successive horizontal positions {specx,specy} apply at successive horizontal and vertical positions {specx,specy,rules} also allow explicit rules for individual elements
• The can have the following forms:
 {s1,s2,...,sn} use through ; then use defaults {{c}} use c in all cases {{c1,c2}} alternate between and {{c1,c2,...}} cycle through all {s,{c}} use s, then repeatedly use c {s1,{c},sn} use , then repeatedly use c, but use at the end {s1,s2,...,{c1,c2,...},sm,...,sn} use the first sequence of at the beginning, then cyclically use the , then use the last sequence of at the end {s1,s2,...,{},sm,...,sn} use the first sequence of at the beginning and the last sequence at the end {i1->v1,i2->v2,...} specify what to use at positions {spec,rules} use rules to override specifications in spec
• With settings of the form , if there are more specified than items across the grid, from the beginning are used for the first items, and ones from the end are used for the last items.
• Rules of the form can be used to specify frames for regions of a grid.
Draw a frame around a plot:
Put a frame on the left and right edges:
Put a frame around a grid:
Frame all elements in the grid:
Specify overall frame style, including frame ticks and frame tick labels, using FrameStyle:
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)
Put a frame on the top and the bottom edges:
Put a frame on all the columns:
Put a frame on all the rows:
Specify the style of each frame edge:
Specify the frame style of a grid:
Place labels on the bottom and left frame edges:
Specify labels for each edge:
Put a frame, but no ticks:
Place frame tick marks and labels automatically:
Place frame tick marks at the specified positions:
Put no frame on the first column, a frame on the second, then repeat the default (which is no frame):
Put no frame on the first column, then put a frame on the second and all subsequent columns:
Put no frame on the first row, a frame on the second, then repeat the default (which is no frame):
Frame a specific row and column:
Frame the last column and the last row:
Frame a set of items:
Frame a region of the grid:
Put a frame around an individual element in the grid:
Frame rows and columns with specific styles:
Frame a region of the grid with specific styles:
Put a styled frame around an individual element:
Individually styled frames can be used with FrameStyle, and have higher priority:
 Applications   (1)
Frame diagonal elements:
Dividers can be used to individually specify the dividers between rows and columns:
In 2D, frames are drawn above the graphics:
Objects in Epilog are drawn on top of any graphics, including frames:
GridLines puts grids across the image:
Frame the upper-left subgrids: