%LINE Macro
Draws a line between two sets of coordinates.
Updates: |
XLAST, YLAST |
Variables written out: |
COLOR, FUNCTION, LINE, SIZE, X, Y |
Requirement: |
You must run the %ANNOMAC macro before using
any other annotate macros. For more information, see Making the Macros Available. |
Syntax
%LINE (x1, y1, x2, y2, color, line, size);
Parameters
- x1, y1
-
specify the coordinates
of the start of the line. Values can be numbers, numeric constants,
or numeric variables. For details, see the Annotate
X Variable variable.
- x1, y2
-
specify the coordinates
of the end of the line. Values can be numbers, numeric constants,
or numeric variables.
- color
-
specifies the color
of the line using a character string without quotation marks. For
valid values, see the Annotate
COLOR Variable. Use an asterisk (*) to specify the previous value of the
color parameter.
- line
-
specifies the line
type, which can be continuous or segmented. The value can be a number,
a numeric constant, or a numeric variable. For valid values, see the
Annotate
LINE Variable for the DRAW function.
- size
-
specifies the width
of the line. The value can be a number, a numeric constant, or a numeric
variable. For valid values, see the Annotate
SIZE Variable for the DRAW function.