grid2 - add a grid to 2D plots
by Stefan Schuberth
19 Oct 2005
(Updated 21 Oct 2005)
This function adds a grid to a 2D plot which can be modified.
|
Watch this File
|
| File Information |
| Description |
This function adds a grid to 2D plots. The grid contains out of lines which can be modified by linestyles and color information. This function expands the functionality of the normal grid implemented in MATLAB plots.
plot(rand(1,10));
set(gcf,'color',[1 1 1]);
grid2(gca,'color',[0.7 0.7 0.7],'linewidth',3); |
| MATLAB release |
MATLAB 7.0.4 (R14SP2)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (2) |
| 20 Oct 2005 |
Duane Hanselman
|
|
|
| 25 Feb 2008 |
Helmut Schulz
|
|
|
| Updates |
| 21 Oct 2005 |
Example added |
|
Contact us at files@mathworks.com