Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
XRCHART Statement

Axis Labels

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
Horizontalallsubgroup-variable
Vertical (\bar{X} chart)DATA=process
Vertical (\bar{X} chart)HISTORY=subgroup mean variable
Vertical (\bar{X} chart)TABLE=_SUBX_

You can specify distinct labels for the vertical axes of the \bar{X} and R 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 \bar{X} chart, and the second part labels the vertical axis of the R chart.

For example, the following sets of statements specify the label Avg Diameter in mm for the vertical axis of the \bar{X} chart and the label Range in mm for the vertical axis of the R chart:

   proc shewhart data=wafers;
      xrchart diamtr*batch / split = '/' ;
      label diamtr = 'Avg Diameter in mm/Range in mm';
   run;

   proc shewhart history=wafersum;
      xrchart diamtr*batch / split = '/' ;
      label diamtrx = 'Avg Diameter in mm/Range in mm';
   run;

   proc shewhart table=wtable;
      xrchart diamtr*batch / split = '/' ;
      label _SUBX_ = 'Avg Diameter in mm/Range in mm';
   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
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.