[R-SIG-Finance] [R-sig-finance] Surface plot of multivariate time series

megh megh700004 at yahoo.com
Tue Jun 2 08:44:03 CEST 2009

Hi, I have following multivariate time series :
start = as.Date("01/01/05", format="%m/%d/%y")
end = as.Date("12/31/05", format="%m/%d/%y")
dates = seq(start, end, by=1)

dat = matrix(rnorm(length(dates)*4), length(dates))
dat1 = t(apply(dat, 1, function(x) x+t(c(100, 110, 120, 130))))

dat2 = zoo(dat1, dates); head(dat2)

Now I want to get "surface plot" wherein x-axis is time, y-axis represents
1,2,3,4, and z-axis is for values of "dat2". Is there any R drawing device
to do that?

View this message in context: http://www.nabble.com/Surface-plot-of-multivariate-time-series-tp23827284p23827284.html
Sent from the Rmetrics mailing list archive at Nabble.com.

More information about the R-SIG-Finance mailing list