Previous Page | Next Page

The SGPLOT Procedure

Example 2: Plotting Three Series


Procedure features:

SERIES statement

Sample library member: GSGPLSER

[GSPLSER - Plotting Two Series]

This example shows a series plot with three series on the Y axis.

 Note about code
proc sgplot data=sashelp.stocks
  (where=(date >= "01jan2000"d and stock = "IBM"));
  title "Stock Trend";
 Note about code
  series x=date y=close;
  series x=date y=low;
  series x=date y=high;
run;

Previous Page | Next Page | Top of Page