| << gray | Graphics functions | groot >> |
| grid |
| grid('on') |
| grid('off') |
| grid('minor') |
| grid(ax, ...) |
displays the major grid line.
removes all grid lines.
toggles the visibility of the minor grid lines.
Target object: axes.
grid() toggles the visibility of the major grid lines.
f = figure();
x = linspace(0, 20);
y = cos(x);
plot(x, y)
grid on
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET