| MATLAB Function Reference | Search  Help Desk |
| grid | See Also |
Grid lines for two- and three-dimensional plots
grid on grid off gridThe
grid function turns the current Axes' grid lines on and off.
grid on
adds grid lines to the current Axes.
grid off
removes grid lines from the current Axes.
grid
toggles the grid visibility state.
grid sets the XGrid, YGrid, and ZGrid properties of the current Axes.
axes, plot
The XGrid, YGrid, and ZGrid properties of Axes objects.