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 > GridLinesStyle >

GridLinesStyle

GridLinesStyle
is an option for 2D graphics functions that specifies how grid lines should be rendered.
  • GridLinesStyle->style specifies that all grid lines should be rendered by default with the specified style.
  • 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.
Specify overall grid lines style:
Specify overall grid lines style:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Specify and styles differently:
Individually styled grid lines can be used with GridLinesStyle and have higher priority:
New in 6 | Last modified in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF