Chapter Contents |
Previous |
Next |
INSET Statement |
data failure3; length cause $ 16 stage $ 16 ; label cause = 'Cause of Failure' ; input stage $ 1-16 cause $ 19-34 counts; datalines; Before Cleaning Contamination 14 Before Cleaning Corrosion 2 Before Cleaning Doping 1 Before Cleaning Metallization 2 Before Cleaning Miscellaneous 3 Before Cleaning Oxide Defect 8 Before Cleaning Silicon Defect 1 After Cleaning Doping 0 After Cleaning Corrosion 2 After Cleaning Metallization 4 After Cleaning Miscellaneous 2 After Cleaning Oxide Defect 1 After Cleaning Contamination 12 After Cleaning Silicon Defect 2 ;
The following statements generate a Pareto chart from the FAILURE3 data. The MAXNCAT= option is specified to limit the number of Pareto categories to five. An INSET statement is used to display the total count for the categories displayed and the total count for the categories excluded by the MAXNCAT= option.
title 'IC Failures'; proc pareto data=failure3; vbar cause / freq = counts maxncat = 5 cframe = ligr cbars = vigb cconnect = salmon; inset n nexcl / cfill = ywh ctext = vigb height = 3; run;
The resulting chart is displayed in Figure 28.1. The INSET statement immediately follows the chart statement that creates the graphical display (in this case, the VBAR statement). Specify the keywords for inset statistics (such as N and NEXCL) immediately after the word INSET. The inset statistics appear in the order in which you specify the keywords. The HEIGHT= option in the INSET statement specifies the text height used to display the statistics in the inset.
A complete list of keywords that you can use with the INSET statement is provided in "Summary of INSET Keywords".
The following examples illustrate options commonly used for enhancing the appearance of an inset.
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.