Re: [R] Log-scale in histogramm

From: hadley wickham <h.wickham_at_gmail.com>
Date: Fri 13 Oct 2006 - 15:34:24 GMT

> My data looks ugly in a normal histogramm. How can I create a histogramm with a Y-axis in log-scale?

It really doesn't make sense to have a logged y scale - because the bars on a histogram all start at zero (and all regions outside the support of the data have zero value) and logging 0 does not give something that is easily displayed on a plot!

Hadley



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 and provide commented, minimal, self-contained, reproducible code. Received on Sat Oct 14 03:16:05 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 Fri 13 Oct 2006 - 17:30:10 GMT.

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