MATLAB Functions Help Desk

grid

Purpose

Grid lines for two- and three-dimensional plots

Syntax

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.

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.



[ Previous | Help Desk | Next ]