Annotate Dictionary |
Variables written out: | COLOR, FUNCTION, LINE, SIZE, X, Y |
Internal variables updated: | XLAST, YLAST |
Prerequisite: | You must run the %ANNOMAC macro before using any other annotate macros. For more information, see Making the Macros Available. |
Syntax | |
Details |
Syntax |
%RECT (x1, y1, x2, y2, color, line, size) ; |
specify the coordinates of the first corner of the rectangle. Values can be numeric coordinates, numeric constants, or numeric variables. For details, see the Annotate X Variable.
specify the coordinates of the second corner of the rectangle, which is drawn diagonal to the first corner. Values can be numeric coordinates, numeric constants, or numeric variables.
specifies the color of the rectangular 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.
specifies the rectangle's line type, which can be continuous or segmented. The value can be a number, a numeric constant, or a numeric variable. For details, see the Annotate LINE Variable for the DRAW function.
specifies the width of the line. The value can be a number, a numeric constant, or a numeric variable. For valid values, see the SIZE Variable for the DRAW function.
Details |
The rectangle is drawn such that the first corner is diagonal to the second corner.
The %RECT macro produces rectangles that do not have fill patterns. Use the %BAR macro to generate filled rectangles. For more information, see %BAR, %BAR2 Macros.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.