Re: Getting rid of vertical error bars?

From: Otto Schaile <Otto.Schaile_at_Physik.Uni-Muenchen.DE>
Date: Fri, 30 Nov 2007 08:50:06 +0100


Hi,
see:
http://root.cern.ch/root/html/THistPainter.html#THistPainter:Paint

do something like:

hist->Draw("P") ; // Draw current marker at each bin except empty bins or
hist->Draw("*H") ; // * at each bin

Cheers
Otto

Deepak Kar wrote:
> Hi,
>
> After dividing two histograms, I am ending up with huge vertical error
> bars in the resulting one, which although are right, for the purpose
> of my analysis, I just need the resulting points. So is there a way of
> getting rid of the vertical error bars altogether? (Or some trick to
> suppress them!)
> Like I can get rid of the horizontal ones by, gStyle->SetErrorX(d0) ;
> with d0=0;
>
> "Hist" option doesnt help me, since it draws the outline, whereas I
> just need the points.
>
> Thanks so much,
> Deepak
>
>
>

-- 
Dr. Otto Schaile            Department f"ur Physik, LMU M"unchen
Phone: +49 89 289 14070     Am Coulombwall 1, D-85748 Garching, Germany
Mobil: +49 160 1553598
FAX:   +49 89 289 14072     EMail: Otto.Schaile_at_Physik.Uni-Muenchen.DE


Received on Fri Nov 30 2007 - 08:50:25 CET

This archive was generated by hypermail 2.2.0 : Fri Nov 30 2007 - 11:50:01 CET