Chapter Contents

Previous

Next
%DRAW

%DRAW



Draws a line to the (x, y) coordinate.

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


Syntax
Details

Syntax

%DRAW (x, y, color, line, size);

Parameter Description
x,y numeric constant or numeric variable name; the x and y coordinates of the ending point of the line that you want to draw.
color literal; the color of the line. 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 to draw, using the units specified by the HSYS variable.


Details

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


Chapter Contents

Previous

Next

Top of Page

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