Log of histogram

Is there a way to draw the log of a histogram; that is, a histogram is usually a plot of value vs. frequency, I want to draw value vs. log of frequency?

Thanks

Do:

gPad->SetLogy(); // Log on Y axis

gPad->SetLogx(); // Log on X axis

Or click with the right mouse button on the canvas and select the log option (x or y).

I actually need natural log, not log base ten. Is this implemented anywhere?

No, not in an easy way.