Re: [R] Pie chart

2013-05-24 Thread Jim Lemon
On 05/25/2013 06:08 AM, Jose Narillos de Santos wrote: I have a 8 Groups composed by A,B, c, D components. The Group 9 is composed by the 8 Groups but only components A and C. I want to chart a plot with 1 big plot of the total Groups (from 1 to 8) on the right and 8 mini pies on the left compo

Re: [R] Pie chart

2013-05-24 Thread Rui Barradas
Hello, Can you please use ?dput to post your data? The dataset you've posted doesn't make sense, you say you have 4 components but each row has 5 values, and that includes Group 9, which should have only 2 values (or 4 values with 2 zeros). Rui Barradas Em 24-05-2013 21:08, Jose Narillos de

Re: [R] Pie Chart in map

2012-07-02 Thread hgerritsen
The package mapplots lets you plot pie charts on a map and vary their size. http://r.789695.n4.nabble.com/file/n4635089/pie.png -- View this message in context: http://r.789695.n4.nabble.com/Pie-Chart-in-map-tp2318816p4635089.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] pie chart

2011-09-09 Thread Jim Lemon
On 09/09/2011 03:35 AM, Mohan L wrote: Hi All, I have txt file like : $ cat data.txt US 10 UK 12 Ind 4 Germany 14 France 8 rawdata<- read.table(file='data.txt',sep='\t' , header=FALSE) rawdata V1 V2 1 US 10 2 UK 12 3 Ind 4 4 Germany 14 5 France 8 I

Re: [R] pie chart

2011-09-08 Thread Jean V Adams
Mohan L wrote on 09/08/2011 12:35:18 PM: > > Hi All, > > I have txt file like : > > $ cat data.txt > US 10 > UK 12 > Ind 4 > Germany 14 > France 8 > > > rawdata <- read.table(file='data.txt',sep='\t' , header=FALSE) > > > rawdata >V1 V2 > 1 US 10 > 2 UK 12 > 3 I

Re: [R] Pie chart

2011-05-20 Thread Jim Lemon
On 05/19/2011 10:07 PM, Silvano wrote: I made a pie chart and the names of the levels are outside the circle. How do I put the names of the levels within each sector? names(tab13) = paste(c('Regular', 'Bom', 'Excelente'), round(100*prop.table(tab13), dig=1), "%") pie(tab13, col=c("LightYellow",

Re: [R] Pie Chart in map

2010-08-10 Thread Jim Lemon
On 08/10/2010 03:04 AM, LCOG1 wrote: Hey R'rs, So im sick of dealing with ESRI products and am looking to stream line a process i now use GIS to do using R. I have made a lot of maps using R but have not yet seen a map that puts pie charts within the map to help represent data like the att

Re: [R] Pie Chart in map

2010-08-09 Thread Greg Snow
Look at the my.symbols and subplot functions in the TeachingDemos package, one of those may work for you. Note however that the author of those functions is one of the advocates against the use of pie charts and if there were a free (as in speech) license that would allow for excluding any use

Re: [R] Pie Chart in map

2010-08-09 Thread jim holtman
Check out the gallery of R chart; here is one to look at: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=143 On Mon, Aug 9, 2010 at 1:04 PM, LCOG1 wrote: > > Hey R'rs, >    So im sick of dealing with ESRI products and am looking to stream line a > process i now use GIS to do usin

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