void pieplot (nslices, seg, clr, offset, caption, size, border, txtclr) PIEPLT.C Level 2
 
int nslices The number of slices in the pie chart.
float *seg An array of nslices elements that contains the percentages for each slice.
int *clr An array of nslices elements that contains the color or fill pattern for each slice. See panel().
float *offset An array of nslices elements which contains the offset of each slice from the center in inches (or cm).
char *caption[ ] An array of nslices elements containing the labels for each slice.
float size The radius of the circle in inches (or cm).
int border = 0 if you do not want a border around each slice.
= 1 if you want a border.
int txtclr The color you want for the labels.
 
This routine allows you to make pie charts with one or all the slices offset from the center. You can also use any of the panel filling patterns. The first element of each array will be used for the first slice and so forth. Use negative numbers for the IBM solid fill colors and positive numbers for patterns and GraphiC colors.