Hello,

I have a "friday" problem.
I'm trying to plot the number of measures by day with this command between
the 2008-07-31 and the 2009-11-13 (it works) :
plot(unique(as.Date(strptime(data$date, format="%Y-%m-%d %H:%M:%S))),
measuresbyday)
then I would like to plot vertical lines for each month. 
But it doesn't work because
par()$usr gives
14071.16  14579.84  -7.16  213.16
and
as.numeric(as.POSIXct(unique(as.Date(strptime(data$date, format="%Y-%m-%d
%H:%M:%S)))[1])) corresponding to "2008-08-01" gives
1217376000

I think the last value is ok but I don't understand why the par()$usr values
are so low.

Any idea ?

Thanks in advance and have a nice week-end,
Ptit Bleu.





-- 
View this message in context: 
http://n4.nabble.com/Problem-with-date-x-axis-tp948642p948642.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to