[R-SIG-Finance] Problem with plot.xts
Pierre Lapointe
pierrelap at gmail.com
Wed Dec 23 01:09:04 CET 2009
Hello,
I want to draw a plot.xts without any axis or labels (I need to
overlay 2 plots with par (new=TRUE). )
Unfortunately, the axes = FALSE argument is overridden in the function.
Here's my code. I only want the data line. No axes or labels.
library(xts)
data(sample_matrix)
sample.xts <- as.xts(sample_matrix)
plot(sample.xts[,1],type="l",axes=FALSE,xlab="",ylab="",auto.grid=FALSE)
I'm on Vista. R 2.10.0
BTW, what is the "ann" argument in the function supposed to do?
Thanks.
More information about the R-SIG-Finance
mailing list