Chapter Contents |
Previous |
Next |
XCHART Statement |
Axis | Input Data Set | Variable |
Horizontal | all | subgroup-variable |
Vertical | DATA= | process |
Vertical | HISTORY= | subgroup mean variable |
Vertical | TABLE= | _SUBX_ |
If you specify the TRENDVAR= option, you can provide distinct labels for the vertical axes of the and trend charts by breaking the vertical axis into two parts with a split character. Specify the split character with the SPLIT= option. The first part labels the vertical axis of the chart, and the second part labels the vertical axis of the trend chart.
For example, the following sets of statements specify the label Residual Mean for the vertical axis of the chart and the label Fitted Mean for the vertical axis of the trend chart:
proc shewhart data=toolwear; xchart diameter*hour / split = '/' trendvar = fitted ; label diameter = 'Residual Mean/Fitted Mean'; run; proc shewhart history=regdata; xchart diameter*hour / split = '/' trendvar = fitted; label diamterx = 'Residual Mean/Fitted Mean'; 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 |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.