Re: [R] Stacked area plot for time series

2011-12-23 Thread Ben Neal
Meant to say ZOO objects . . . -Original Message- From: Ben Neal [mailto:bn...@spg.ucsd.edu] Sent: Fri 12/23/2011 10:15 AM To: Hadley Wickham; UncleFish Cc: r-help@r-project.org Subject: RE: [R] Stacked area plot for time series Yes, thanks for the direction. I am new to the list and

Re: [R] Stacked area plot for time series

2011-12-23 Thread Ben Neal
E") stackpoly(CaribMatrix, stack=TRUE, xlab="Year",ylab="Catch in tons", col.main="red", font.main=4, axis4="FALSE", xat=seq(50,760,by=100), xaxlab=c(1300, 1400, 1500, 1600, 1700, 1800, 1900, 2000)) -Original Message-

Re: [R] Stacked area plot for time series

2011-12-23 Thread Hadley Wickham
You are more likely to get a helpful response if you provide a reproducible example - without that I can only guess that you need to use approx so you get y values at same x values. Hadley On Wed, Dec 21, 2011 at 8:13 AM, UncleFish wrote: > I wish to make a stacked area chart of a time series wi

[R] Stacked area plot for time series

2011-12-21 Thread UncleFish
I wish to make a stacked area chart of a time series with three variables. The observations are very irregular, covering 500 years, with a few historical observations in the range 1500-1850, and then more regular observations since 1880 or so. If I plot this in Excell it truncates the time series,

Re: [R] Stacked Area Plot

2008-09-18 Thread Jim Lemon
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 o

Re: [R] Stacked Area Plot

2008-09-17 Thread Greg Snow
age- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of Josip Dasovic > Sent: Wednesday, September 17, 2008 12:02 PM > To: r-help@r-project.org > Subject: [R] Stacked Area Plot > > Hi: > > I've searched the archives and the Internet for hours

Re: [R] Stacked Area Plot

2008-09-17 Thread hadley wickham
On Wed, Sep 17, 2008 at 1:01 PM, Josip Dasovic <[EMAIL PROTECTED]> 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 manipulatio

[R] Stacked Area Plot

2008-09-17 Thread Josip Dasovic
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