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 |
group-variable |
Vertical |
DATA= |
response |
Vertical |
SUMMARY= |
group proportion variable |
Vertical |
TABLE= |
_SUBP_ |
For example, the following sets of statements specify the label Proportion Nonconforming for the vertical axis of the chart:
proc anom data=Circuits; pchart Fail*Batch / groupn=50; label Fail = 'Proportion Nonconforming'; run; proc anom summary=Cirhist; pchart Fail*Batch ; label Failp = 'Proportion Nonconforming'; run; proc anom table=Cirtable; pchart Fail*batch ; label _SUBP_ = 'Proportion Nonconforming'; 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.