Re: [R] plotting pie-charts into a coordinate system

From: hadley wickham <>
Date: Sun, 04 May 2008 14:59:28 -0500

On Sun, May 4, 2008 at 2:30 PM, Georg Ehret <> 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

Another interesting page is, which describes the first use of this technique, by Minard.



______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sun 04 May 2008 - 20:04:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 04 May 2008 - 22:30:34 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive