FrameStyle

FrameStyle
is an option for Graphics, Grid, and other constructs that specifies the style in which to draw frames.

DetailsDetails

  • 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.
  • Styles can be specified using graphics directives such as Thick, Red, Dashed as well as Thickness, Dashing, and combinations given by Directive.
  • The default style of frames is normally specified by the option DefaultFrameStyle.

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

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]=
New in 2 | Last modified in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »