DefaultGridLinesStyle
✖
DefaultGridLinesStyle
✖
is a low-level option for 2D graphics functions that specifies the default style to use in rendering grid lines.
Details

- DefaultGridLinesStyle->style specifies that the grid lines should effectively be replaced by Style[line,style].
- GridLinesStyle is applied after DefaultGridLinesStyle.
- For Graphics, the default setting is DefaultGridLinesStyle->"GraphicsGridLines".
- DefaultGridLinesStyle->{} introduces no default style specifications, thereby effectively allowing all outside style specifications in.
- DefaultGridLinesStyle->style makes any specifications in style override corresponding outside style specifications.
Examples
Basic Examples (3)Summary of the most common use cases
The current setting for DefaultGridLinesStyle:
In[1]:=1

✖
https://wolfram.com/xid/0e5a6md9t0py1a-2ajb4
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0e5a6md9t0py1a-f8um3l
Out[1]=1

Explicit settings for GridLinesStyle override DefaultGridLinesStyle:
In[1]:=1

✖
https://wolfram.com/xid/0e5a6md9t0py1a-f9ryzi
Out[1]=1

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