Re: [R] Pie chart and labels

2008-09-08 Thread Marianne Promberger
On Monday, 08 September 2008, 15:24 (UTC-0400), polishookm wrote: > 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 > pie(c(11, 15, 16, 29, 31),labels=c("what","ever","you","want","d

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 3:24 PM, polishookm <[EMAIL PROTECTED]

Re: [R] Pie chart and labels

2008-09-08 Thread Jorge Ivan Velez
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 3:24 PM, polishookm <[EMAIL PROTECTED]>wrote: > With a pie chart > > pie(c(11, 15, 16, 29, 31)) > > how can I generate labels

[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