[R-SIG-Finance] [R-sig-finance] Plot TS-matrix as a surface

Enrico Schumann enricoschumann at yahoo.de
Thu Feb 26 14:57:17 CET 2009

it should be helpful to give a little code example, or at least the content
of the error messages that you received.

the following gives me a perspective plot...

nC     <- 10	# columns
nO 	 <- 100	# observations
dataM  <- array(runif(nC * nO), dim=c(nO, nC))
zz 	 <- zoo(dataM, 1:nO)

-----Ursprüngliche Nachricht-----
Von: r-sig-finance-bounces at stat.math.ethz.ch
[mailto:r-sig-finance-bounces at stat.math.ethz.ch] Im Auftrag von R at Nabble
Gesendet: Donnerstag, 26. Februar 2009 12:26
An: r-sig-finance at stat.math.ethz.ch
Betreff: [R-SIG-Finance] [R-sig-finance] Plot TS-matrix as a surface

I'd like to be able to plot a time-series matrix (i.e. first col contains
sorted dates, rest of cols contains non-sorted data, with headings at the
top; current format is as a zoo object) as a surface/3D chart. The function
persp() is giving me errors, even if I transform data as core data, etc.

Any suggestions / other functions available?


View this message in context:
Sent from the Rmetrics mailing list archive at Nabble.com.

R-SIG-Finance at stat.math.ethz.ch mailing list
-- Subscriber-posting only.
-- If you want to post, subscribe first.
No virus found in this incoming message.
Checked by AVG - www.avg.com


More information about the R-SIG-Finance mailing list