Re: [R] specifying colours in a ggplot2 piechart

2010-11-23 Thread baptiste auguie
auguie >> Subject: Re: [R] specifying colours in a ggplot2 piechart >> To: "John Kane" >> Cc: r-h...@stat.math.ethz.ch >> Received: Tuesday, November 23, 2010, 2:02 PM >> fixing the various typos in your >> code, this works, >> >> lat_plot(

Re: [R] specifying colours in a ggplot2 piechart

2010-11-23 Thread John Kane
auguie wrote: > From: baptiste auguie > Subject: Re: [R] specifying colours in a ggplot2 piechart > To: "John Kane" > Cc: r-h...@stat.math.ethz.ch > Received: Tuesday, November 23, 2010, 2:02 PM > fixing the various typos in your > code, this works, > > l

Re: [R] specifying colours in a ggplot2 piechart

2010-11-23 Thread baptiste auguie
fixing the various typos in your code, this works, lat_plot() + scale_fill_manual(value=mycolours) HTH, baptiste On 23 November 2010 19:47, John Kane wrote: > Someone was asking how to do a 16 category piechart in OpenOffice Calc and it > appears that it can not be done (which we, probably, s

[R] specifying colours in a ggplot2 piechart

2010-11-23 Thread John Kane
Someone was asking how to do a 16 category piechart in OpenOffice Calc and it appears that it can not be done (which we, probably, should be happy about) but I thought that I'd try it in ggplot2. It works but I then thought I'd like to make the colours more distinctive but fro some reason I do