[R] Stacked Area Plot

Jim Lemon jim at bitwrit.com.au
Thu Sep 18 14:19:31 CEST 2008


Josip Dasovic wrote:
> 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
>
>   
Hi Josip,
Look at stackpoly in the plotrix package.

Jim



More information about the R-help mailing list