Skip to content

grid

plot · scripts/plot/appearance/grid.m

: grid
: grid on
: grid off
: grid minor
: grid minor on
: grid minor off
: grid (ax, …)

Control the major and minor grid lines of an axes.

grid on and grid off switch the major grid of all three axes; grid off also switches the minor grid off. grid alone toggles the major grid and grid minor toggles the minor grid without touching the major one. grid minor on and grid minor off set the minor grid explicitly.