Re: [ROOT] Plotting a histogram without error bars

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu May 22 2003 - 19:38:41 MEST


Hi Mark,

use:

hist->Draw("hist");

Rene Brun

On Thu, 22 May 2003, Mark Horner wrote:

> Hi,
> 
> I would like to know if it is possible to easily plot a histogram that 
> has errors as though it did not.
> 
> {
> TH1F *hist = new TH1F("hist","Histogram",10,0,10);
> //hist->Sumw2();
> for (Int_t i = 0; i<10000; i++)
> hist->Fill(gRandom->Uniform(0,10));
> hist->Draw("");
> }
> 
> Is it possible to uncomment the second line and then still draw the 
> histogram without error bars? I have tried all the Draw options I can 
> find without success.  (Root version v3-05-03)
> 
> Thanks,
> 
> Mark
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET