Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
MACHART 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=_UWMA_

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

   proc macontrol data=clips1;
      machart gap*day / span=4;
      label gap = 'Moving Average of Clip Gaps';
      label day = 'Day';
   run;

   proc macontrol history=cliphist;
      machart gap*day / span=4;
      label gapx = 'Moving Average of Clip Gaps';
      label day  = 'Day';
   run;

   proc macontrol table=cliptab;
      machart gap*day;
      label _uwma_   = 'Moving Average 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.