Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: graphic
See also: grcirclesector

Quantlet: grpie
Description: Generates a pie chart from the data.

Link:
Usage: mypie = grpie (x,[distance])
Input:
x n x 2 vector the first column contains the data the second column contains the frequencies of
distance n x 1 vector contains distances between sectors and origin
Output:
mypie composed graphical object

Example:
library("graphic")
data = 1:5
freqs = 10|2|13|9|6
dist = 0|50|0|0|50
mypie = grpie(data~freqs~dist)
d  = createdisplay(1,1)
show(d, 1, 1, mypie)

Result:
shows a pie chart



Author: R. Witzel, 19981111
(C) MD*TECH Method and Data Technologies, 05.02.2006