AT
x,y,z specify the center of the box. If z is specified then they are
assumed to be data units. Instead of x,y,z you may specify CURSOR. If
x,y,z are specified without FROM,TO, then AT is assumed.
FROM-TO
You may also specify the diagonally opposite corners of the box. If z
is specified then they are assumed to be data units. Instead of x,y,z
you may specify CURSOR.
FILL
Fills in the box using the current fill pattern. See:SET FILL
CURSOR
The cross hair cursor is used to specify the limits or center of the
box. First move the cursor to a corner of the box. Press the space
bar. Next move the cursor the diagonally opposite corner and press
space again to draw the box. If you decide not to draw the box, press
any other key other than space or "Return".
DATA
Specifies X,Y are in data coordinate frame. Normally they are in the
TEXT coordinate frame. This option is not necessary if z or DSIZE are
specified.
DSIZE
Specifies the size in data units. If the size is in data units the x,y
are assumed to be data units also.
ROTATE
Specifies a rotation angle in degrees. Rotation is right handed or
counterclockwise.
SIZE
Specifies the size in inches DX is the width of the box. If omitted
the width is the default see:Command SET BOX SIZE. DY is the height of
the box. If omitted DY=DX.
SQUARE
The option SQUARE or SYMMETRIC produces a square box. The SIZE is
treated as a diagonal through the center of a square, and FROM, TO are
treated as the coordinates of 2 opposite sides of a square.
SOLID...
Sets the texture of the line. See:Command SET TEXTURE.
INTENSITY
Sets the intensity (n=1-5)
WHITE...
Sets the color of the line.
example
TD:BOX AT 6.5,5 size=6.5,5
or...
TD:BOX 6.5,5 size 6.5,5
or...
TD:BOX FROM 3.25,2.5 TO 9.75,7.5
or...
TD:BOX FROM 3.25,2.5 size=6.5,5
Draws a centered box half the size of the screen assuming the default
size of 13x10.
TD:Set limits X -100,100 Y -100,100
TD:BOX 0,0 DATA size 1
Draws a box centered on the data 1 inch square
TD:Set limits X -100,100 Y -100,100
TD:BOX 50,50 Dsize 100,100
Draws a box around the upper right quadrant of the data.
TD:BOX AT CURSOR TO CURSOR
Draws a box centered at the first cursor position with a corner at the
second cursor.
TD:BOX FROM CURSOR SIZE=2
Draws a box with the lower left corner at the cursor position 2 inches
square.