DRAWBOX Draw a box defined by coordinate extents. drawBox(BOX) Draws a box defined by its extent: BOX = [XMIN XMAX YMIN YMAX]. drawBox(..., NAME, VALUE) Specifies drawing parameters using parameter name and value. See plot function for syntax. drawBox(AX, ...) Specifies the handle of the axis to draw on. Example % define some points, compute their box, display everything points = [10 30; 20 50; 20 20; 30 10;40 30;50 20]; box = pointSetBounds(points); figure; hold on; drawPoint(points, 's'); drawBox(box); axis([0 60 0 60]); See Also: drawOrientedBox, drawRect --------- author : David Legland INRA - TPV URPOI - BIA IMASTE created the 10/12/2003.
Package: matgeom