Simple Histogram Cosmetic Question

Hello,
I am wondering how to create a histogram that displays markers (or data points) instead of bins. Is there an easy way I can do this?
Thanks,
David

Did you try to draw with e.g. the “P” option? You can change the marker style with TH1::SetMarkerStyle or in the right-click menu. Also read root.cern.ch/root/html/THistPainter.html#HP01b

Perfect! I didn’t see that in the user guide.
Thanks a bunch.

I wanted to insert the vertical line for uncertainty in my histogram points,
How can I do that?

Thank You in advance.

Hi Roy,

try the “PE” option.

1 Like

Hi yus,
I tried using PE but it didn’t gave the expected result,
I am looking to add binomial uncertainty to my plot but I tried using different control but didn’t worked.

Thank You.

Maybe @couet can help you with this.

Cheers,
J.

I would suggest you simply draw a TLine ?