Draw markers without error bars

Hi,

I have histograms that have a sum of weights stored. When I draw them as markers with “p”, the error bar is always drawn. How can I suppress the error bars and draw only the marker (without getting rid of sum of weights)?

Thanks,
Eric

myhist.Draw("hist p");
Rene

Thanks Rene! Sorry it seemed counterintuitive to write “p” and “HIST” together.

Eric

This HIST option is explained here: root.cern.ch/root/html/THistPainter.html#HP01a

When an histogram has errors it is visualized by default with error bars. To visualize it without errors use the option “HIST” together with the required option (eg “hist same c”). The “HIST” option can also be used to plot only the histogram and not the associated function(s).