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

Horizontal

all

subgroup-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.