Problem with "E4" option in Draw

Hi

I am drawing a histogram with options

h->Draw(“same E4”)

and

h->Draw(“same E2”)

E2 works fine, but E4 looks like the last two bins get merged and I get a spike in the last-1 and an empty box in the very last bin…

Ideas?

Thanks in advance

Alex




See the warning here.

The options “E3” and “E4” draw an error band through the end points of the vertical error bars. With “E4” the error band is smoothed. Because of the smoothing algorithm used some artefacts may appear at the end of the band like in the following example. In such cases “E3” should be used instead of “E4”.