Producing a one-page control chart using PROC SHEWHART


The number of subgroup positions per page in a PROC SHEWHART control chart is determined by the NPANELPOS= option in the chart statement. By default, NPANELPOS=50 for all chart types except box charts. When you use the BOXCHART statement, the default is NPANELPOS=20. If there are more subgroup positions than the default, a single control chart spans more than one page. To specify the total number of pages for a control chart, regardless of the number of subgroups, use the TOTPANELS= option in the chart statement. If you want a one-page chart, specify TOTPANELS=1 and this overrides the NPANELPOS= option.