The MACONTROL Procedure |
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 |
---|---|---|
Horizontal |
all |
subgroup-variable |
Vertical |
DATA= |
process |
Vertical |
HISTORY= |
subgroup mean variable |
Vertical |
TABLE= |
_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.
Copyright © SAS Institute, Inc. All Rights Reserved.