BOX Name
BOX
Purpose
This procedure draws a rectangular box on the screen.
Category
Graphics
Calling Sequence
BOX, X0, Y0, W, H
Inputs
X0: The x-coordinate of the left edge.
Y0: The y-coordinate of the bottom edge.
W: The horizontal width of the box.
H: The vertical height of the box.
Keyword Parameters
COLOUR: The optional color index for drawing the box.
DATA: If set then the box is plotted following data coordinates.
DEVICE: If set then the box is plotted following device coordinates
(default).
NORMAL: If set then the box is plotted following normal coordinates.
THICK: The optional line thickness for drawing the box.
Example
plot, [0,1], nodata=1
box, 0.2, 0.3, 0.4, 0.4, data=1
Modification History
Written by: Edward C. Wiebe, 2000-07-14.
Modified: Daithi Stone (stoned@csag.uct.ac.za), 2009-12-08 (added
documentation)