({{, (RefLink[FrameStyle, paclet:ref/FrameStyle])
is an option for (RefLink[Graphics, paclet:ref/Graphics]), (RefLink[Grid, paclet:ref/Grid]), and other constructs that specifies the style in which to draw frames.}})

OpenersNotesSection(Spacer1)Details

(RefLink[FrameStyle, paclet:ref/FrameStyle])->style specifies that all edges of the frame are to be generated with the specified style or graphics directive.

(RefLink[FrameStyle, paclet:ref/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 (RefLink[Thick, paclet:ref/Thick]), (RefLink[Red, paclet:ref/Red]), (RefLink[Dashed, paclet:ref/Dashed]) as well as (RefLink[Thickness, paclet:ref/Thickness]), (RefLink[Dashing, paclet:ref/Dashing]), and combinations given by (RefLink[Directive, paclet:ref/Directive]).

The default style of frames is normally specified by the option (RefLink[DefaultFrameStyle, paclet:ref/DefaultFrameStyle]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (10)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

Specify overall frame style, including the frame, frame ticks, and the frame tick labels:

Plot[Sin[x],{x,0,10},Frame->True,FrameStyle->Directive[Orange,12]]

Specify the frame style of a grid:

Grid[Table[x,{4},{7}],Frame->All,FrameStyle->Directive[Red,Dotted]]

Specify the style of each frame edge:

Graphics[Circle[],Frame->True,FrameStyle->{{Thick,Directive[Thick,Dashed]},{Blue,Red}}]

OpenersExampleSection1(Spacer1)Scope  (4)

Styles associated with lines affect frame edges and frame ticks:

Plot[Sin[x],{x,0,10},Frame->True,FrameStyle->Thick]

Styles associated with fonts affect frame tick labels:

Plot[Sin[x],{x,0,10},Frame->True,FrameStyle->Italic]

Styles can be combined by (RefLink[Directive, paclet:ref/Directive]):

Plot[Sin[x],{x,0,10},Frame->True,FrameStyle->Directive[Thick,Italic]]

Use (RefLink[Item, paclet:ref/Item]) to specify the styles for individual elements in the grid:

Grid[{{Item[a,Frame->True,FrameStyle->Red],b},{c,Item[d,Frame->True,FrameStyle->Blue]}}]

OpenersExampleSection2(Spacer1)Properties & Relations  (3)

(RefLink[FrameStyle, paclet:ref/FrameStyle]) affects frame, frame ticks, and frame tick labels:

Plot[2Sin[x],{x,0,10},Frame->True,PlotLabel->2Sin[x],FrameStyle->Green]

(RefLink[LabelStyle, paclet:ref/LabelStyle]) offers overall style of all the label-like elements, including frame tick labels:

Plot[2Sin[x],{x,0,10},Frame->True,FrameLabel->{x,y},PlotLabel->2Sin[x],LabelStyle->Directive[Red,FontFamily->"Helvetica"]]

(RefLink[FrameStyle, paclet:ref/FrameStyle]) can be used together with (RefLink[LabelStyle, paclet:ref/LabelStyle]) and has higher priority:

Plot[2Sin[x],{x,0,10},Frame->True,FrameLabel->{x,y},PlotLabel->2Sin[x],LabelStyle->Directive[Red,FontFamily->"Helvetica"],FrameStyle->Green]

(RefLink[FrameTicksStyle, paclet:ref/FrameTicksStyle]) affects frame ticks and frame tick labels, but nothing else:

Plot[2Sin[x],{x,0,10},Frame->True,FrameLabel->{x,y},PlotLabel->2Sin[x],FrameTicksStyle->Green]

(RefLink[FrameStyle, paclet:ref/FrameStyle]) can be used together with (RefLink[FrameTicksStyle, paclet:ref/FrameTicksStyle]), but has lower priority:

Plot[2Sin[x],{x,0,10},Frame->True,FrameLabel->{x,y},PlotLabel->2Sin[x],FrameStyle->Directive[Gray,FontSize->15],FrameTicksStyle->Green]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Frame, paclet:ref/Frame])  ▪  (RefLink[AxesStyle, paclet:ref/AxesStyle])  ▪  (RefLink[FrameMargins, paclet:ref/FrameMargins])  ▪  (RefLink[Dividers, paclet:ref/Dividers])  ▪  (RefLink[DefaultFrameStyle, paclet:ref/DefaultFrameStyle])  ▪  (RefLink[CellFrame, paclet:ref/CellFrame])  ▪  (RefLink[CellFrameColor, paclet:ref/CellFrameColor])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Labeling Two-Dimensional Graphics, paclet:tutorial/LabelingTwoDimensionalGraphics])}, {▪(RefLinkPlain[Tables and Matrices, paclet:tutorial/TablesAndMatrices])}, {▪(RefLinkPlain[Grids, Rows, and Columns, paclet:tutorial/GridsRowsAndColumnsOverview])}, {▪(RefLinkPlain[Formatted Output, paclet:tutorial/FormattedOutput])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Graphics Annotation & Appearance, paclet:guide/GraphicsAnnotationAndAppearance])}, {▪(RefLinkPlain[Colors, paclet:guide/Colors])}, {▪(RefLinkPlain[3D Graphics Options, paclet:guide/3DGraphicsOptions])}, {▪(RefLinkPlain[Grids & Tables, paclet:guide/GridsAndTables])}, {▪(RefLinkPlain[Graphics Styling in Notebooks, paclet:guide/GraphicsStylingInNotebooks])}, {▪(RefLinkPlain[Labels, paclet:guide/Labels])}})}})