FIGURE

Xwindows

 When running under X windows, mouse button 2 toggles the continuous
 display of the graphics cursor location. The PHYSICA keyword CUNITS is
 the units type for these numbers. If CUNITS = WORLD, the numbers depend
 on the current units type, either CM or IN, as chosen with SET UNITS.
 If CUNITS = GRAPH, the numbers displayed depend on the current graph
 axis scales. If CUNITS = PERCENT, the numbers depend on the current window.

PERCENT

 If the \PERCENT qualifier is used, then the values of the coordinates will
 be interpreted as being in percentages of the current window, for example,
 (50,50) represents the centre of the current window. This is the default if
 no units qualifier is used.

GRAPH

 If the \GRAPH qualifier is used, then the values of the coordinates will
 be interpreted as being in graph units, that is, the units defined by the
 minimum and maximum values for a graph. These units are taken from the last
 graph drawn, or, if no graph has been drawn yet, they are the default
 values:  -1 <= x <= 1 and -1 <= y <= 1.

WORLD

 If the \WORLD qualifier is used, then the values of the coordinates will
 be interpreted as being in centimeters or inches, depending on the units
 type chosen with the SET UNITS command. The default world units are
 centimeters.

CONFIRM

 If the FIGURE command is entered interactively, the default is that
 confirmation that the figure is acceptable as drawn will be requested.
 The figure will not be be entered into the hardcopy plot file, or into
 an open EDGR file, unless it is acceptable.  However, if CONFIRM has been
 disabled, the default will be that no such confirmation will be requested.
 If the \CONFIRM qualifier is used, confirmation will be forced.  If the
 \NOCONFIRM qualifier is used, confirmation will be suppressed.

stack_file

 If a stack file is open, via the STACK command, then the (x,y)
 coordinates will be written to the stack file, even if they are
 chosen by the crosshair.  Thus, when this stack file is executed,
 using the EXECUTE command, the graphics crosshair will not be used.
 If confirmation is requested and the figure is not OK, then the
 command will not be written to the stack file.

CIRCLE

 Syntax: FIGURE CIRCLE r { cx cy }

 This command draws a circle centred at the point (cx,cy), with radius
 r, which is in terms of the horizontal dimension. The graphics crosshair
 is used if either cx or cy is not entered. 

ARC

 Syntax: FIGURE ARC { cx cy sx sy ex ey }

 This command draws an arc of a circle centred at the point (cx,cy),
 starting at the point (sx,sy) and finishing on the line through the
 points (ex,ey) and (cx,cy). The first two points determine the radius
 and the starting azimuth, while the final point determines the final
 azimuth only.  If the final point is the same as the first point, the
 centre, then a complete circle will be drawn. The graphics crosshair is
 used if any of the points are not entered. 

WEDGE

 Syntax: FIGURE WEDGE { cx cy sx sy ex ey }

 This command draws a sector of a circle centred at the point (cx,cy),
 starting at the point (sx,sy) and finishing on the line through the
 points (ex,ey) and (cx,cy). The first two points determine the radius
 and the starting azimuth, while the final point determines the final
 azimuth only. The end points of the arc are joined to the centre of the
 arc.  If the final point is the same as the first point, the centre,
 then a complete circle will be drawn. The graphics crosshair is used if
 any of the points are not entered. 

BOX

 Syntax: FIGURE BOX { lowx lowy hix hiy }

 This command draws a rectangle with lower left hand corner at (lowx,lowy),
 and upper right hand corner at (hix,hiy). The graphics crosshair is used if
 any of the points are not entered. 

POLYGON

 Syntax: FIGURE POLYGON n { cx cy sx sy }

 This command draws a regular polygon with n vertices, centred at (cx,cy),
 and with the first vertex at (sx,sy).  The graphics crosshair is used if
 any of cx, cy, sx, or sy are not entered. 

ELLIPSE

 Syntax: FIGURE ELLIPSE a b { cx cy } ang

 This command draws an ellipse with a = major axis radius, b = minor
 axis radius, centred at (cx,cy), and with the major axis at an angle
 of ang, in degrees measured counter-clockwise from the horizontal. The
 graphics crosshair is used if either cx or cy is not entered. 

ARROW

 Syntax: FIGURE ARROW { sx sy ex ey }

 This command draws an arrow with base at (sx,sy) and end at (ex,ey). The
 graphics crosshair is used if any of sx, sy, ex, or ey are not entered.

Additional Information on:

  • types
  • width
  • length