Chapter Contents

Previous

Next
The TIMEPLOT Procedure

Overview

The TIMEPLOT procedure plots one or more variables over time intervals. A listing of variable values accompanies the plot. Although the plot and the listing are similar to those produced by the PLOT and PRINT procedures, PROC TIMEPLOT output has these distinctive features:

Simple Report Created with PROC TIMEPLOT illustrates a simple report that you can produce with PROC TIMEPLOT. This report shows sales of refrigerators for two sales representatives during the first six weeks of the year. The statements that produce the output follow. A DATA step creates the data set SALES.

options linesize=64 pagesize=60 nodate 
        pageno=1;
proc timeplot data=sales;
   plot icebox;
   id month week;
   title 'Weekly Sales of Refrigerators'; 
   title2 'for the';
   title3 'First Six Weeks of the Year';
run;

Simple Report Created with PROC TIMEPLOT
[HTML Output]  [Listing Output]

More Complex Report Created with PROC TIMEPLOT is a more complicated report of the same data set that is used to create Simple Report Created with PROC TIMEPLOT . The statements that create this report

For an explanation of the program that produces this report, see Showing Multiple Observations on One Line of a Plot .

More Complex Report Created with PROC TIMEPLOT
[HTML Output]  [Listing Output]


Chapter Contents

Previous

Next

Top of Page

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