Name
grid — Add a grid on a 2D or a 3D plot
Calling Sequence
property/value pair
Description
Add the property/value pair 'grid','on' to add a grid on your plot,
e.g. plot(x,y,'grid','on').
The grid color is the default background color. To change the grid
color the pair can be of the type 'grid',[r g b] where each r,g,b value is
in the interval [0,1].
Examples
plot(1:10,sin(1:10),'grid','on')
plot(1:10,sin(1:10),'grid',[0.8 0.8 0.8])