Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
EWMACHART Statement

Axis Labels

You can specify axis labels by assigning labels to particular variables in the input data set, as summarized in the following table:

Axis Input Data Set Variable
Horizontalallsubgroup-variable
VerticalDATA=process
VerticalHISTORY=subgroup mean variable
VerticalTABLE=_EWMA_

For example, the following sets of statements specify the label EWMA of Clip Gaps for the vertical axis and the label Day for the horizontal axis of the EWMA chart:

   proc macontrol data=clips1;
      ewmachart gap*day / weight=0.3;
      label gap = 'EWMA of Clip Gaps';
      label day = 'Day';
   run;

   proc macontrol history=cliphist;
      ewmachart gap*day / weight=0.3;
      label gapx = 'EWMA of Clip Gaps';
      label day  = 'Day';
   run;

   proc macontrol table=cliptab;
      ewmachart gap*day;
      label _ewma_  = 'EWMA of Clip Gaps';
      label day     = 'Day';
   run;

In this example, the label assignments are in effect only for the duration of the procedure step, and they temporarily override any permanent labels associated with the variables.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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