Hello,
does anybody know a fast way for drawing error bars like these:
i.e. standard bars for statistics, plus shaded boxes for systematics.
(asymmetric boxes!)
Thanks.
Hello,
does anybody know a fast way for drawing error bars like these:
i.e. standard bars for statistics, plus shaded boxes for systematics.
(asymmetric boxes!)
Thanks.
Simply superimpose 2 TGrahErrors/AsymmErrors with 2 drawing options.
Rene
Thank you so much.
Another stupid question.
Default error bars, in TGraphs, are slightly different wrt those in histograms (e.g. TH1F):
TGraph: ᛨ.
TH1F: |
How can I draw TH1F-like error bars with a TGraph?
[quote=“couet”]All details about the drawing options here:
root.cern.ch/root/html/TGraphPainter.html#GP03[/quote]
the errors bars shown here:
root.cern.ch/root/html/TGraphPainter.html#GP03a
are like TH1F ones, aren’t they ?
Not exactly, couet:
bars are slightly different in their ends.
TH1F-like:
ams.pg.infn.it/~tomasset/ErrorsTH1FLike.gif
TGraph-like:
ams.pg.infn.it/~tomasset/ErrorsTGraphLike.gif
[quote=“couet”]the errors bars shown here:
root.cern.ch/root/html/TGraphPainter.html#GP03a
are like TH1F ones, aren’t they ?[/quote]
Have a better look at the page documentation I sent you. It explains how to change the size of the ticks at the end of the error bar:
gStyle->SetEndErrorSize()
Uh, It was the option “Z”. Thank you.
[quote=“couet”]Have a better look at the page documentation I sent you. It explains how to change the size of the ticks at the end of the error bar:
gStyle->SetEndErrorSize()[/quote]