Can't find any information about this, but others must want to do it.

In the example below, the second plot has the desired log scale, but the
first does not.

Any help appreciated.

JD

----------------------------------------------------------------------


data(state)
area_Mh = 259*state.area/1000000

histlogarea = hist(log(area_Mh), 13, xlab="Area (Mh)", main="")
histlogarea$mids = exp(histlogarea$mids)
histlogarea$breaks = exp(histlogarea$breaks)

plot(histlogarea, log="x")

plot(histlogarea$mids, histlogarea$density, log="x")

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to