Displaying 2 results from an estimated 2 matches for "a22338700".
Did you mean:
td22338700
2009 May 11
1
inconsistent results for axis.POSIXct
...what I considered to be a bug in
axis.POSIXt() for R 2.8.x, relating to whether timezones in the data are
obeyed on the axes. A link to that note, and to a quick and helpful
response, is at the following URL
http://www.nabble.com/patch-for-axis.POSIXct-%28related-to-timezones%29-td22338700.html#a22338700
Note that R 2.9.0 has been adjusted to help with this. However, there are
still problems. Test code is given below:
# test code (top panel, OK; bottom panel, incorrect times on x axis)
par(mar=c(2,2,2,1))
par(mfrow=c(2,1))
start <- as.POSIXct("2008-05-01 00:00:00", tz="UTC&...
2009 Mar 04
2
patch for axis.POSIXct (related to timezones)
I am finding that axis.POSIXct uses the local timezone for deciding where to
put tic marks, even if the data being plotted are in another time zone. The
solution is to use attr() to copy from the 'x' (provided as an argument) to
the 'z' (used for the 'at' locations).
I have pasted my proposed solution in section 1 below (as a diff). Then, in
section 2, I'll put some