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,