INSET Statement: CAPABILITY Procedure

Positioning the Inset Using Compass Points

Note: See Positioning the Inset in the SAS/QC Sample Library.

You can specify the eight compass points N, NE, E, SE, S, SW, W, and NW as keywords for the POSITION= option. The following statements create the display in Figure 5.21, which demonstrates all eight compass positions. The default is NW.

title 'Torsion Strength of Copper Wire';
proc capability data=Wire;
   histogram Strength / odstitle = title;
   inset n     / header='Position = NW' pos=nw;
   inset mean  / header='Position = N ' pos=n ;
   inset sum   / header='Position = NE' pos=ne;
   inset max   / header='Position = E ' pos=e ;
   inset min   / header='Position = SE' pos=se;
   inset nobs  / header='Position = S ' pos=s ;
   inset range / header='Position = SW' pos=sw;
   inset mode  / header='Position = W ' pos=w ;
run;

Figure 5.21: Insets Positioned Using Compass Points