[R] plotting pie-charts into a coordinate system
hadley wickham
h.wickham at gmail.com
Sun May 4 21:59:28 CEST 2008
On Sun, May 4, 2008 at 2:30 PM, Georg Ehret <georgehret at gmail.com> wrote:
> Dear R user group,
> I wish to plot small pie-charts to specific coordinates in a e.g.
> scatter-plot:
>
> E.g.:
> > plot(rnorm(100),rnorm(100))
> > points(1,1,col="red",cex=4)
> -> I wish to put pie(c(2,3)) at the position of the red circle...
>
> How can I do this efficiently?
For some discussion of the disadvantages of this type of display, and
some suggestions for alternatives, you might like to read
http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=00018S.
Another interesting page is
http://www.math.yorku.ca/SCS/Gallery/minard/minard.pdf, which
describes the first use of this technique, by Minard.
Hadley
--
http://had.co.nz/
More information about the R-help
mailing list