[R] pb with Date format using filled.contour

Xavier Bodin xavier.bodin at univ-savoie.fr
Wed Mar 2 10:19:16 CET 2011


Hi R-help community,

Can anyone tell me why, while using :
    x <- seq(as.Date("2001-01-01"),as.Date("2001-01-01") +
nrow(volcano)-1,1)
    y <- seq(1, ncol(volcano),1)

when I plot the volcano matrix with that command :
    filled.contour(x,y,volcano)
the graph has a Date format on X-axis, ok ...

... but when adding a contour plot to the filled contour, using this
command:
    filled.contour(x,y,volcano,
plot.axes={axis(1);axis(2);contour(x,y,volcano, add = TRUE)})
the Date format doesn't appear anymore ... ??

Thanks in advance for any help,

Xavier

--
View this message in context: http://r.789695.n4.nabble.com/pb-with-Date-format-using-filled-contour-tp3331207p3331207.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list