Chapter Contents |
Previous |
Next |
XSCHART Statement |
Axis | Input Data Set | Variable |
Horizontal | all | subgroup-variable |
Vertical ( chart) | DATA= | process |
Vertical ( chart) | HISTORY= | subgroup mean variable |
Vertical ( chart) | TABLE= | _SUBX_ |
You can specify distinct labels for the vertical axes of the and s 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 s chart.
For example, the following sets of statements specify the label Avg Power Output for the vertical axis of the chart and the label Std Deviation for the vertical axis of the s chart:
proc shewhart data=turbine; xschart kwatts*day / split = '/' ; label kwatts = 'Avg Power Output/Std Deviation'; run; proc shewhart history=turbhist; xschart kwatts*day / split = '/' ; label kwattsx = 'Avg Power Output/Std Deviation'; run; proc shewhart table=turbtab; xschart kwatts*day / split = '/' ; label _SUBX_ = 'Avg Power Output/Std Deviation'; 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.