Force the display of a grid on the plot. The argument may be either
"on"
or"off"
. If it is omitted, the current grid state is toggled.If arg is
"minor"
then the minor grid is toggled. When using a minor grid a second argument arg2 is allowed, which can be either"on"
or"off"
to explicitly set the state of the minor grid.See also: plot