[R] pb with Date format using filled.contour

From: Xavier Bodin <xavier.bodin_at_univ-savoie.fr>
Date: Wed, 02 Mar 2011 01:19:16 -0800 (PST)


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.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 02 Mar 2011 - 10:15:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 02 Mar 2011 - 11:50:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive