grid

Purpose

Grid lines for 2-D and 3-D plots.

Synopsis

grid on
grid off
grid

Description

grid on adds grid lines on the current axes.

grid off takes them off.

grid, by itself, toggles the grid state.

Algorithm

grid sets the XGrid, YGrid, and ZGrid properties of the current axes.

See Also

axes, plot
The XGrid, YGrid, and ZGrid properties of axes objects.

(c) Copyright 1994 by The MathWorks, Inc.