Re: [Rd] axis.POSIXct and axis.Date fail for reversed axes

2016-08-19 Thread Martin Maechler
> William May > on Thu, 18 Aug 2016 22:06:36 + writes: > When plotting a reversed time axis with the base graphics system, R > fails to label the axes. > Example: > times <- c(Sys.time() - 100, Sys.time()) > plot(times, 1:2, xlim = times) # correctly labels

[Rd] axis.POSIXct and axis.Date fail for reversed axes

2016-08-18 Thread William May
When plotting a reversed time axis with the base graphics system, R fails to label the axes. Example: times <- c(Sys.time() - 100, Sys.time()) plot(times, 1:2, xlim = times) # correctly labels the x-axis plot(times, 1:2, xlim = rev(times)) # fails to label the x-axis axis.POSIXct(1, times) # sti