M-File Help: plotvol | View code for plotvol |
Set the bounds for a 2D or 3D plot
plotvol(w) creates a new axis, and sets the bounds for a 2D plot with X and Y spanning the interval -w to w. The axes are labelled, grid is enabled, aspect ratio set to 1:1, and hold is enabled for subsequent plots.
plotvol([XMIN XMAX YMIN YMAX]) as above but the X and Y axis limits are explicitly provided.
plotvol([XMIN XMAX YMIN YMAX ZMIN ZMAX]) as above but the X, Y and Z axis limits are explicitly provided.
© 1990-2014 Peter Corke.