Bar chart with errors

Hi,

I would have a probably simple question. I want to draw a histogram with bar chart option. Is it possible to add error bars, drawing the full bar at the same time?

Thank you for the support

If you just want vertical bars, you can combined it with the error option

h.Draw("bar e");

This doesn’t work for horizontal bars though.

Yes, the problem is that if I have multiple bars in the same bin, the error bars are all drawn in the middle of the bin.

I’ve just found that this is an old issue…

http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=4805&start=0

Does anybody know if it has been solved in the meanwhile?

there is no way to draw the error bars horizontally.