Using just base graphics you can use the floating.pie function from the plotrix package, or the my.symbols function from the TeachingDemos package with your own symbol/plotting function. Pie charts are usually not very useful, there may be another type of symbol (see the symbols function) or plot (to use with my.symbols or subplot from the TeachingDemos package) that would convey the information better. One of the examples in ?subplot shows adding small barcharts to a map.
Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Davidson, D. > Sent: Tuesday, May 13, 2008 6:09 AM > To: [EMAIL PROTECTED] > Subject: [R] Bubble plot pie chart map > > Hello, > > I am currently trying to show the abundance of two species of > zooplankton within the North Sea as pie chart bubble plots. I > followed Werner Wernersen's advice in R help > (http://finzi.psych.upenn.edu/R/Rhelp02a/archive/48644.html) > and used Paul Murrell's paper "Integrating Grid Graphics > Output with Base Graphics Output" (in R News) to try and do > this (using the gridBase package). It generally works well, > except for when I try and put in the map of the coastline and > the points with no zooplankton present (0 values of both > plankton species). The following error comes up: > > "Error in gridPLT() : Figure region too small and/or viewport > too large" > > > and other errors along those lines. Can anyone suggest either > what I'm doing wrong, or some other way to plot this? > > > Many thanks > > Deborah > > > Deborah Davidson > PhD student > School of Biological Sciences > University of Aberdeen > Aberdeen, AB24 2TZ > Scotland > Tel: +44 (0)1224 274106 > Email: [EMAIL PROTECTED] > > > The University of Aberdeen is a charity registered in > Scotland, No SC013683. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.