Axis blocked when overlaying two histograms

Hi everyone,

I encountered a strange ROOT 6.08 bug, which you may reproduce with the scripts and files attached. After drawing, you will find that the x-axis is somehow blocked and one cannot zoom on it. The same script runs fine in ROOT 5, so this is a new “feature” in ROOT 6. It appears that it happens when one tries to overlay two 1D histograms with many non-empty bins, but I cannot always reproduce it with other histograms. I’m wondering if anyone has any clue why this is happening?

Thanks.

plot.C (159 Bytes)
hist.root (39.2 KB)

Yes this is weird … .the X axis is invisible for the GUI in that cas…

Thanks to have seen this problem. It is now fixed in the ROOT master.

Thanks so much for fixing it.