The behaviour of hist.POSIXt when using the col argument is different from the default hist, in the respect that it colors the axes as well. I think this is due to the ... argument, which is passed to the axis.POSIXct() function. In the default hist, col is set as a fixed argument, and hence cannot be passed unwantedly to other functions. Maybe this should be done with hist.POSIXt as well. The same goes for hist.Date Cheers Joris -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control tel : +32 9 264 59 87 Joris.Meys at Ugent.be ------------------------------- Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php
Joris Meys <jorismeys <at> gmail.com> writes:> > The behaviour of hist.POSIXt when using the col argument is different > from the default hist, in the respect that it colors the axes as well. > I think this is due to the ... argument, which is passed to the > axis.POSIXct() function. In the default hist, col is set as a fixed > argument, and hence cannot be passed unwantedly to other functions. > Maybe this should be done with hist.POSIXt as well. The same goes for > hist.DateReproducible example: hist(.leap.seconds, "years", freq = TRUE,col=2)