PIE(1G) COMMAND REFERENCE PIE(1G)
NAME
pie - build a pie chart
SYNOPSIS
pie [ -b ] [ -p ] [ -ppn ] [ -pnn ] [ -v ] [ -o ] [ -rn ] [
-xn ] [ vector ... ]
DESCRIPTION
Output is a GPS that describes a pie chart. If no file is
specified, the standard input is assumed. Input is lines of
the form:
[<control>] value [label]
Square brackets represent optional fields. Angle brackets
(<>) are literal.
Each line of the input specifies a single slice of the pie.
The pie is drawn with the value of each slice printed inside
and the label printed outside. The control field specifies
the appearance of the slice. Legal values for the control
field are:
i The slice is not drawn, though a space is left for
it.
e The slice is "exploded", or moved away from the
pie.
f The slice is filled. The angle of fill lines
depends on the color of the slice.
ccolor
The slice is drawn in color rather than the
default black. Legal values for color are b for
black, r for red, g for green, and u for blue.
For example, the input line:
<ecg> 15 profit
specifies an exploded slice in the color green, with a value
of 15 and a label of profit. The size of the slice depends
on the values of the other slices of the pie.
OPTIONS
-b Draw pie chart in bold weight lines, otherwise use
medium.
-p Output value as a percentage of the total pie.
-ppn Only draw n percent of a pie.
Printed 4/6/89 1
PIE(1G) COMMAND REFERENCE PIE(1G)
-pnn Output value as a percentage, but total of percentages
equals n rather than 100. -pn100 is equivalent to -p.
-v Do not output values.
-o Output values around the outside of the pie.
-rn Put the pie chart in region n of the GPS universe,
where n is between 1 and 25 inclusive.
-xn Position the pie chart in the GPS universe with x-
origin at n.
-yn Position the pie chart in the GPS universe with y-
origin at n.
EXAMPLES
The following example will draw the pie chart specified by
file A in 80% of a circle and will output the values as
percentages that total 80.
pie -pp80,pn80 A
SEE ALSO
abs(1g), af(1g), bar(1g), bel(1g), bucket(1g), ceil(1g),
cor(1g), cusum(1g), cvrtopt(1g), dtoc(1g), erase(1g),
exp(1g), floor(1g), gamma(1g), gas(1g), gd(1g), ged(1g),
graphics(1g), gtop(1g), hardcopy(1g), hilo(1g), hist(1g),
hpd(1g), intro(1g), label(1g), list(1g), log(1g), lreg(1g),
mean(1g), mod(1g), pair(1g), pd(1g), plot(1g), point(1g),
power(1g), prime(1g), prod(1g), ptog(1g), qsort(1g),
quit(1g), rand(1g), rank(1g), remcom(1g), root(1g),
round(1g), siline(1g), sin(1g), subset(1g), td(1g),
tekset(1g), title(1g), total(1g), ttoc(1g), var(1g),
vtoc(1g), whatis(1g), yoo(1g), and gps(5g).
Printed 4/6/89 2
%%index%%
na:240,75;
sy:315,411;
de:726,1686;
op:2412,340;3064,739;
ex:3803,287;
se:4090,1473;
%%index%%000000000118