Re: [ROOT] using the C option on TH1::Draw() when TH1::SetBinError() is used

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Dec 03 2002 - 23:25:10 MET


Hi Ed,

do:
  h->Draw();
  h->Draw("c hist same");

Rene Brun

On Tue, 3 Dec 2002, Ed Oltman wrote:

> Hello,
>  I use root 3.03/9 on win2k.  I have a histogram that has non-poisson
> errors - I use TH1::SetBinContent() and TH1::SetBinError().  I would like to
> draw the histogram with error bars and smooth curve (C option).  I tried
> 
> (1) TH1::Print()  - draws points with error bars
> (2) TH1::Print("C") - same as (1)
> (3) TH1::Print("EC") - same as (1)
> (4) TH1::Print("EH") - same as (1) but with histogram outline (not what I
> want)
> (5) TH1::Print("EHC") - same as (4), but with smooth curve (not what I want
> either)
> 
> Is there another opertion that I must use to get error bars displayed and
> smooth curve only?  Thanks..
> 
> 
> Ed
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:22 MET