Drawing several non transparent hists and keep the axis


I am drawing a MC data comparison plot. I want to show the uncertainty on both MC and data. To avoid confusion I want to draw the MC as a central line with a coloured band representting the uncertainty.

At present I do this by drawing the MC central value + error (coloured / non transparent) then the MC central value (transparent) then the MC central value - error (white /non transparent) all on the same histogram.

This looks great with one exception, I cannot see my x axis anymore.

Does anybody know how to get an axis to always be on top? Are there any other suggestions how to surmount this problem?


paul Telford

After your last Draw call, do

or alternative solution
use option “same axis” in your last Draw call