%ARROW Annotate Macro
Draws an arrow from (X1, Y1) to (X2,Y2).
| Updates: | XLAST, YLAST |
|---|---|
| Variables written out: | ANGLE, COLOR, FUNCTION, LINE, SIZE, STYLE, 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
x1, y1
specify coordinates for the start point of the arrow. Values can be numbers, numeric constants, or numeric variables.
| See | X Variable and Y Variable |
|---|
x2, y2
specify coordinates for the end point of the arrow. 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 length of the sides of the arrowhead as a percentage of the graph area. The value can be a number, a numeric constant, or a numeric variable.
| See | LINE Variable 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 ARROW function for valid size values. |
|---|
angle
specifies the angle of the tip of the arrowhead. The value can be a number, a numeric constant, or a numeric variable.
| See | ANGLE Variable for the ARROW function for valid angle values. |
|---|
CLOSED | FILLED | OPEN
specifies the arrowhead style.
| See | STYLE Variable: Arrows for more information about the values. |
|---|
Details
The point from which the line is drawn is usually set with the MOVE macro.