Positioning the Inset Using Compass Points

Note: See Positioning the Inset on an ANOM Chart Using Compass Points 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 4.32, which demonstrates all eight compass positions. The default is NW.

title 'Mean Chart for Diameters';
proc anom data=LabelDeviations;
   xchart Deviation*Position / odstitle=title;
   inset n / height=3 cfill=ywh header='NW' pos=nw;
   inset n / height=3 cfill=ywh header='N ' pos=n ;
   inset n / height=3 cfill=ywh header='NE' pos=ne;
   inset n / height=3 cfill=ywh header='E ' pos=e ;
   inset n / height=3 cfill=ywh header='SE' pos=se;
   inset n / height=3 cfill=ywh header='S ' pos=s ;
   inset n / height=3 cfill=ywh header='SW' pos=sw;
   inset n / height=3 cfill=ywh header='W ' pos=w ;
run;

Figure 4.32: Insets Positioned Using Compass Points