Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have a large array of real (positive and negative) numbers and I want to plot the histogram of it. I can use

Histogram[data, "Log", PlotRange->All]

but this gives me log scale only in X-axis. How would you get log scale on both axis for a histogram? I have heard that Mathematica 8 has added this feature, but I am using Mathematica 7 right now.

Moreover, say I just want Log scale on Y-axis. Is it possible too?

Thanks!

share|improve this question

1 Answer 1

Not quite sure if this also works in Mathematica 7 since I use version 8/9 but try the following:

Histogram[Range@100, {"Log", 10}, "LogCount"]

This results in

result

Related to this.

share|improve this answer
    
With this code it gives me an error message: "Expected a list of tick specifications". Though I don't get this error message for smaller data sets! –  dbm May 1 '13 at 2:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.