Chapter Contents

Previous

Next
The TIMEPLOT Procedure

Example 5: Showing Multiple Observations on One Line of a Plot


Procedure features:
CLASS statement
PLOT statement arguments:
creating multiple plots
NOSYMNAME
OVPCHAR=
Data set: SALES
Formats: MONTHFMT.

This example




Program

 Note about code
libname proclib 'SAS-data-library';


options nodate pageno=1 linesize=80 pagesize=60 
        fmtsearch=(proclib);
 Note about code
proc timeplot data=sales;
   class month week;




 Note about code
   plot stove=seller  / pos=25 ovpchar='!';
   plot icebox=seller / pos=25 ovpchar='!' nosymname;




 Note about code
   format stove icebox dollar10.2 month monthfmt.;
   title 'Weekly Appliance Sales for the First Quarter';
run;


Output

 [Listing Output]


Chapter Contents

Previous

Next

Top of Page

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