From bbolker at gmail.com  Wed Apr 13 15:57:13 2011
From: bbolker at gmail.com (Ben Bolker)
Date: Wed, 13 Apr 2011 13:57:13 +0000
Subject: [Rd] bug in hist.POSIXt , hist.Date
References: <BANLkTi=z-6kitC+uojrq-uKGH15fXLVS2Q@mail.gmail.com>
Message-ID: <loom.20110413T155347-464@post.gmane.org>

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.Date

  Reproducible example:

 hist(.leap.seconds, "years", freq = TRUE,col=2)



[Rd] bug in hist.POSIXt , hist.Date
Ben Bolker