Shifting marker x-position

Hi all,

I’m drawing two similar 1-D histograms on the same canvas, and since the contents of these two histograms are very similar their markers obstruct each other, so I was wondering if it is possible to give the markers an offset while drawing the histograms, i.e. markers of one histogram is just a little right of the bin center and the markers for the other are a little left. I believe I can achieve this with TGraph but wondering if there is another way.

Thanks,
Serhan

No, the markers are always drawn at the bin center. But you can change the marker style.
If you choose an empty marker for the histogram drawn on top it should be fine.
See the marker types here. root.cern.ch/root/html/TAttMarker.html#M2