Manual for Package pgfplots
2D/3D Plots in LATeX, Version 1.18.1
http://sourceforge.net/projects/pgfplots
The Reference
4.16Grid Options
-
/pgfplots/xminorgrids=true|false (initially false) ¶
-
/pgfplots/yminorgrids=true|false (initially false) ¶
-
/pgfplots/zminorgrids=true|false (initially false) ¶
-
/pgfplots/xmajorgrids=true|false (initially false) ¶
-
/pgfplots/ymajorgrids=true|false (initially false) ¶
-
/pgfplots/zmajorgrids=true|false (initially false) ¶
-
/pgfplots/grid=minor|major|both|none (initially false) ¶
Enables/disables different grid lines. Major grid lines are placed at the normal tick positions (see xmajorticks) while minor grid lines are placed at minor ticks (see xminorticks).
This example employs the coordinates defined on page (page for ?? 380).
Grid lines will be drawn before tick lines are processed, so ticks will be drawn on top of grid lines. You can configure the appearance of grid lines with the styles