[R] Stacked Area Plot

Greg Snow Greg.Snow at imail.org
Thu Sep 18 00:36:58 CEST 2008

The example pointed to below is a good example of fortune(197).

It is possible to do using polygon (and is probably not as hard as you are making it), but there is probably a better way to present your data.  What question are you trying to answer with this plot?

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Josip Dasovic
> Sent: Wednesday, September 17, 2008 12:02 PM
> To: r-help at r-project.org
> Subject: [R] Stacked Area Plot
> Hi:
> I've searched the archives and the Internet for hours but have yet to
> find a way to do stacked area plots (like the kind in Excel) in R.  I
> think that polygon may work but it would require a bit of manipulation
> of my data. I was hoping for an easier way.
> An example of what I'm trying to do can be found here:
> http://jcharts.sourceforge.net/samples/stackedArea.html
> Thanks,
> Josip
> ______________________________________________
> R-help at 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.

More information about the R-help mailing list