[R] axis command and excel time format
Carmen Meier
carmei3 at web.de
Wed Nov 8 21:52:22 CET 2006
Gabor Grothendieck schrieb:
> Your code plots x which has nothing to do with xt.
>
The same result if you change xt to x: 02:25 at the origin nothing else
- I do not know why
#---------- your suggestion --------
mn <- times(min_time)
mx <- times(max_time)
n <- 12
t <- times(seq(mn, mx, length = n))
t <- times(unique(sub("..$", "00", t)))
axis(1, x, sub(":00$", "", x)) # works only with plot data before
Regards Carmen
More information about the R-help
mailing list