GridLinesStyle

GridLinesStyle

is an option for 2D graphics functions that specifies how grid lines should be rendered.

Details

  • GridLinesStyle->style specifies that all grid lines should be rendered by default with the specified style.
  • GridLinesStyle->{xstyle,ystyle} specifies that x and y grid lines should use different styles. »
  • Styles can be specified using graphics directives such as Thick, Red, and Dashed, as well as Thickness, RGBColor, Dashing, and combinations given by Directive.
  • Style specifications can refer to styles using style names from current stylesheets.
  • Any outside styles not explicitly overridden by settings in GridLinesStyle will still be used.
  • Explicit styles specified in the settings for GridLines can override styles specified in GridLinesStyle. »
  • The default style of axes is specified by the option DefaultGridLinesStyle.

Examples

open allclose all

Basic Examples  (1)

Specify overall grid lines style:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (1)

Properties & Relations  (1)

See Also

GridLines  FaceGridsStyle  MeshStyle  DefaultGridLinesStyle

Introduced in 2007
(6.0)
| Updated in 2008
(7.0)