| MATLAB Function Reference | ![]() |
Grid lines for two- and three-dimensional plots
Syntax
grid on grid off grid grid(axes_handle,...)
Description
The 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(axes_handle,...)
uses the axes specified by axes_handle instead of the current axes.
Algorithm
grid sets the XGrid, YGrid, and ZGrid properties of the current axes.
See Also
The XGrid, YGrid, and ZGrid properties of axes objects.
| graymon | griddata | ![]() |