Chapter Contents

Previous

Next
%LINE

%LINE


Draws a line from (x1, y1) to (x2, y2) coordinates.

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


Syntax

Syntax

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

Parameter Description
x1, y1 numeric constants or numeric variable names; the x and y coordinates of the beginning point of the line.
x2, y2 numeric constants or numeric variable names; the x and y coordinates of the ending point of the line.
color literal; the color of the bar. 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.


Chapter Contents

Previous

Next

Top of Page

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