Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Graphics Options & Styling > Graphics Annotation & Appearance >

FrameStyle

Updated In 7 Graphic
FrameStyle
is an option for Graphics, Grid and other constructs that specifies the style in which to draw frames.
  • FrameStyle->style specifies that all edges of the frame are to be generated with the specified style or graphics directive.
  • FrameStyle->{{left, right}, {bottom, top}} specifies that different sides of a graphics frame should be drawn with different styles.
Specify overall frame style, including the frame, frame ticks and the frame tick labels:
Specify the frame style of a grid:
Specify the style of each frame edge:
Specify overall frame style, including the frame, frame ticks and the frame tick labels:
In[1]:=
Click for copyable input
Out[1]=
 
Specify the frame style of a grid:
In[1]:=
Click for copyable input
Out[1]=
 
Specify the style of each frame edge:
In[1]:=
Click for copyable input
Out[1]=
Styles associated with lines affect frame edges and frame ticks:
Styles associated with fonts affect frame tick labels:
Styles can be combined by Directive:
Use Item to specify the styles for individual elements in the grid:
FrameStyle affects frame, frame ticks and frame tick labels:
LabelStyle offers overall style of all the label-like elements, including frame tick labels:
FrameStyle can be used together with LabelStyle and has higher priority:
FrameTicksStyle affects frame ticks and frame tick labels, but nothing else:
FrameStyle can be used together with FrameTicksStyle, but has lower priority:
New in 2 | Last modified in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team