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 histogram, if I create it without specifying the PlotRange it works fine and the ticks on the Y-Axis are displayed

Histogram[{myData}, {10000}, PlotRange -> {Automatic, Automatic}]

However if I indicate the PlotRange they vanish

Histogram[{myData}, {10000}, PlotRange -> {{0, 200000}, Automatic}]

I tried setting the Ticks manually:

Histogram[{myData}, {10000}, PlotRange -> {{0, 200000}, Automatic}, 
          Ticks -> {{0, 50000, 100000, 150000, 200000}, 
                    {0, 100, 200, 300, 400, 500, 600, 700}}]

but Mathematica stubbornly refused to display them.
Does anyone know how fix this?

share|improve this question
    
I noticed, oddly, that if I leave out the bin width argument {10000} then I don't have this problem –  ekcrisp Apr 19 at 20:01
    
I also noticed that this does not happen with smaller data sets –  ekcrisp Apr 19 at 20:26

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.