SAS Institute. The Power to Know

SAS/GRAPH(R) 9.2: Statistical Graphics Procedures Guide

space
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;

space
Previous Page | Next Page | Top of Page