How to hide x bin width showing in TH1?

Dear list,
i’m plotting a TH1F histogram, in which i just need to show the data point located in the middle of the bin. How is it possible to hide the width of the bin from the plotting? Is there an option for that? An example is attached to this message.

Thanks in advance,
Marco


gStyle->SetErrorX(0.);

Thanks a lot. That solved the problem.
However i don’t understand why i do have to set an option concerning “errors”, while this is not really such, but only a representation of the bin width.

marco