%DRAW Annotate Macro
Draws a line from (XLAST, YLAST) to the specified coordinate.
| Updates: | XLAST, YLAST |
|---|---|
| Variables written out: | COLOR, FUNCTION, LINE, SIZE, X, Y |
| Requirement: | You must run the %ANNOMAC macro before using this or any of the other SAS/GRAPH annotate macros. See Making the Macros Available. |
Table of Contents
Syntax
Parameters
x, y
specify coordinates for the end point of the line. Values can be coordinate numbers, numeric constants, or numeric variables.
| See | X Variable and Y Variable |
|---|
color
specifies the color of the line using a character string without quotation marks. Use an asterisk (*) to specify the previous value of the color parameter.
| See | COLOR Variable |
|---|
line
specifies the line type (continuous or segmented). The value can be a number, a numeric constant, or a numeric variable.
| See | LINE Variable for the DRAW function for valid line values. |
|---|
size
specifies the width of the line. The value can be a number, a numeric constant, or a numeric variable.
| See | SIZE Variable for the DRAW function for valid size values. |
|---|
Details
The point from which the line is drawn is usually set with the MOVE macro.