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= |
|
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.