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 allBasic Examples (1)Summary of the most common use cases
Scope (1)Survey of the scope of standard use cases
Properties & Relations (1)Properties of the function, and connections to other functions
Individually styled grid lines can be used with GridLinesStyle and have higher priority:
In[1]:=1

✖
https://wolfram.com/xid/0dqwp82jt62-bc6q4
Out[1]=1

Wolfram Research (2007), GridLinesStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/GridLinesStyle.html (updated 2008).
✖
Wolfram Research (2007), GridLinesStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/GridLinesStyle.html (updated 2008).
Text
Wolfram Research (2007), GridLinesStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/GridLinesStyle.html (updated 2008).
✖
Wolfram Research (2007), GridLinesStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/GridLinesStyle.html (updated 2008).
CMS
Wolfram Language. 2007. "GridLinesStyle." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/GridLinesStyle.html.
✖
Wolfram Language. 2007. "GridLinesStyle." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/GridLinesStyle.html.
APA
Wolfram Language. (2007). GridLinesStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GridLinesStyle.html
✖
Wolfram Language. (2007). GridLinesStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GridLinesStyle.html
BibTeX
✖
@misc{reference.wolfram_2025_gridlinesstyle, author="Wolfram Research", title="{GridLinesStyle}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/GridLinesStyle.html}", note=[Accessed: 25-March-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_gridlinesstyle, organization={Wolfram Research}, title={GridLinesStyle}, year={2008}, url={https://reference.wolfram.com/language/ref/GridLinesStyle.html}, note=[Accessed: 25-March-2025
]}