Re: [R] Pie chart and labels

2008-09-08 Thread polishookm
Thanks Jorge, that's perfect. Jorge Ivan Velez wrote: Dear Mark, See argument "labels" in ?pie. x=c(11, 15, 16, 29, 31) pie(x,labels=x,col=c('orange','green','blue','red','purple')) HTH, Jorge On Mon, Sep 8, 2008 at

[R] Pie chart and labels

2008-09-08 Thread polishookm
With a pie chart pie(c(11, 15, 16, 29, 31)) how can I generate labels for the chart, such as orange: 11 green: 15 blue: 16 red: 29 purple: 31 rather than the default labels that are drawn automatically 1 2 3 4 5 -- Mark Polishook, D.M.A. Technology Coordinator Morehead Hall, Rm 132 Center fo