Re: [R] Histograms on a log scale

2009-07-21 Thread Lorenzo Isella
+ geom_histogram()+ scale_x_log10() + scale_y_log10() = --- On Mon, 7/20/09, Lorenzo Isella wrote: From: Lorenzo Isella Subject: [R] Histograms on a log scale To: r-help@r-project.org Received: Monday, July 20, 2009, 5:1

Re: [R] Histograms on a log scale

2009-07-20 Thread John Kane
)+ scale_x_log10() + scale_y_log10() = --- On Mon, 7/20/09, Lorenzo Isella wrote: > From: Lorenzo Isella > Subject: [R] Histograms on a log scale > To: r-help@r-project.org > Received: Monday, July 20, 2009, 5:17 A

Re: [R] Histograms on a log scale

2009-07-20 Thread Richard . Cotton
> I would like to be able to plot histograms/densities on a semi-log or > log-log scale. > # Get a random log-normal distribution > r <- rlnorm(1000) > > # Get the distribution without plotting it using tighter breaks > h <- hist(r, plot=F, breaks=c(seq(0,max(r)+1, .1))) > > # Plot the distribu

[R] Histograms on a log scale

2009-07-20 Thread Lorenzo Isella
Dear All, I would like to be able to plot histograms/densities on a semi-log or log-log scale. I found several suggestions online http://tolstoy.newcastle.edu.au/R/help/05/09/12044.html https://stat.ethz.ch/pipermail/r-help/2002-June/022295.html http://www.harding.edu/fmccown/R/#histograms Now