Chapter Contents

Previous

Next
%RECT

%RECT



Draws a nonfillable rectangle with opposite corners at (x1, y1) and (x2, y2).

Variables affected: COLOR, FUNCTION, LINE, SIZE, X, Y
Updates: XLAST, YLAST


Syntax
Details

Syntax

%RECT (x1, y1, x2, y2 , color, line, size) ;

Parameter Description
x1, y1 numeric constant or numeric variable name; the x and y coordinates of the lower-left corner of the rectangle.
x2, y2 numeric constant or numeric variable name; the x and y coordinates of the upper-right corner of the rectangle.
color literal; the color of the outline of the rectangle. Color can be any SAS/GRAPH color name and must not be enclosed in quotation marks. Use an asterisk (*) to indicate the previously defined value for color.
line numeric constant or numeric variable name; the type of line to draw. Values for line are integers from 1 to 46. See Specifying Line Types for representations of line types.
size numeric constant or numeric variable name; the width of the line. The HSYS variable controls the units that size uses. See also HSYS Variable.


Details

The BAR macro produces filled rectangles.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.