Full_Name: Karl Ove Hufthammer
Version: 2.10.0 beta
Submission from: (NULL) (126.96.36.199)
When plotting a single POSIXct variable, 'plot' uses a nonsensical x axis. Here
is some example code:
The y axis correctly shows appropriate labels (years 2002 to 2006), but the x
axis show the single time '59:58' in the lower left corner.
Expected behaviour: The indices should be shown on the x axis, just like for
plot(x), where x is the x variable in the above example code.
Additional notes: While ?plot.POSIXct does not explicitly say that the second
variable ('y') is optional, the help for the generic, ?plot, does. And it seems
reasonable that it should be. Also plot(POSIXct.variable) does produce a
'correct' plot, except for the labels on the x axis.
Output of sessionInfo():
R version 2.10.0 beta (2009-10-17 r50136)
attached base packages:
 stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
This was not documented to work, but has been added as a new feature in 2.12.0