M. Shiham Adam wrote:

Dear R-Community.

I am trying show pie charts on a graph. To be precise, I have series of
catch calues by species by geographic (5 deg by 5 deg) regions. I want
to draw circles (actually pie charts showing the proportion of the catch
in each area) so that I have a graph of catch by species by geographic
area!

I know there is the <  symbols(dat$lon,dat$lat,circles = dat$sp1,
add=TRUE) > but I need pie charts instead of the simple circle!

Here is some data

Examples can be found, e.g., in

@Article{Rnews:Murrell:2003,
  author       = {Paul Murrell},
  title        = {Integrating grid Graphics Output with Base Graphics
                  Output },
  journal      = {R News},
  year         = 2003,
  volume       = 3,
  number       = 2,
  pages        = {7--12},
  month        = {October},
  url          = {http://CRAN.R-project.org/doc/Rnews/}
}

and Paul's talk at the useR! (Slides available at http://www.ci.tuwien.ac.at/Conferences/useR-2004/Keynotes/Murrell.pdf).

Uwe Ligges





dat

lon lat sp1 sp2 sp3
1 20 50 2 6 10
2 20 55 370 20 23
3 20 60 380 40 23
4 20 65 60 100 87
5 25 50 0 0 98
Any help would be much appreciated


Shiham Adam

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to