[R] 'col'-parameter in 'hist.POSIXt'

From: Sebastian Meyer <Sebastian.Wastl.Meyer_at_campus.lmu.de>
Date: Sun 07 May 2006 - 04:17:03 EST


Hi guys.

The 'col'-parameter in the 'hist'-method for the classes 'POSIXt' and 'date' does not perform as it does in the default 'hist'-method. Unfortunately, it does not only change the filling color of the boxes, but also the color of the axislines.
[Using 'graphics'-package version 2.2.0]

Examples:         

	# with POSIXct-object
	hist(.leap.seconds, "years", freq = TRUE, col="lightgrey")
	
	# with dates
	random.dates <- as.Date("2001/1/1") + 70*runif(100)
	hist(random.dates, "weeks", format = "%d %b", col="lightgrey")


Is that a bug?

Thanks in advance.

        Wastl

---


> sessionInfo()
R version 2.2.0, 2005-10-06, x86_64-unknown-linux-gnu attached base packages: [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" [7] "base" other attached packages: MASS "7.2-20" ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sun May 07 04:16:09 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 07 May 2006 - 06:10:00 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.