%ARROW 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 any other annotate macros. For more information, see Making the Macros Available.

Syntax

%ARROW (x1, y1, x2, y2, color, line, size, angle, style);

Parameters

x1, y1
specify coordinates for the start point of the arrow. Values can be coordinate numbers, numeric constants, or numeric variables. For details, see the Annotate X Variable.
x2, y2
specify coordinates for the end point of the arrow. Values can be coordinate numbers, numeric constants, or numeric variables. For details, see the Annotate X Variable.
color
specifies the color of the line using a character string without quotation marks. For details, see the Annotate COLOR Variable. Use an asterisk (*) to specify the previous value of the color parameter.
line
specifies the length of the sides of the arrowhead. The value can be a number, a numeric constant, or a numeric variable. For valid values, see the Annotate LINE Variable for the ARROW function.
size
specifies the width of the line. The value can be a number, a numeric constant, or a numeric variable. For valid numeric values, see the Annotate SIZE Variable for the ARROW function.
angle
specifies the angle of the tip of the arrowhead. The value can be a number, a numeric constant, or a numeric variable. For valid numeric values, see the Annotate ANGLE Variable for the ARROW function.
style
specifies the type of arrowhead. You can specify CLOSED, FILLED, or OPEN. For more information about the values, see STYLE Variable (Arrows).

Details

The point from which the line is drawn is usually set with the MOVE macro.