![]() Chapter Contents |
![]() Previous |
![]() Next |
| The TIMEPLOT Procedure |
| Procedure features: |
| ||||||
| Other features: |
| ||||||
| Data set: | SALES |
This example
| Program |
libname proclib 'SAS-data-library';
| | options nodate pageno=1 linesize=80 pagesize=60
fmtsearch=(proclib);
|
| | proc format library=proclib;
value monthfmt 1='January'
2='February';
run;
|
| | proc timeplot data=sales; plot icebox='R' / axis=2500 to 3600 by 25; |
| | id month week; |
| | label icebox='Refrigerator';
|
| | format month monthfmt.; title 'Weekly Sales of Refrigerators'; title2 'for the'; title3 'First Six Weeks of the Year'; run; |
| Output |
The column headers in the listing are the variables' names (for Month
and Week, which have no labels) and the variable's label (for Icebox, which
has a label). The plotting symbol is
R (for Refrigerator).
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.