Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
IRCHART 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 (Individual measurements chart)DATA=process
Vertical (Individual measurements chart)HISTORY=subgroup measurement variable
Vertical (Individual measurements chart)TABLE=_SUBI_

You can specify distinct labels for the vertical axes of the individual measurements and moving range 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 individual measurements chart, and the second part labels the vertical axis of the moving range chart.

For example, the following sets of statements specify the label Avg gap in mm for the vertical axis of the individual measurements chart and the label Range in mm for the vertical axis of the moving range chart:

   proc shewhart data=doors;
      irchart gap*hour / split = '/' ;
      label gap = 'Avg gap in mm/Range in mm';
   run;

   proc shewhart history=doorhist;
      irchart gap*hour / split = '/' ;
      label gap = 'Avg gap in mm/Range in mm';
   run;

   proc shewhart table=doortab;
      irchart gap*hour / split = '/' ;
      label _SUBI_ = 'Avg gap 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.