[ROOT] Plotting a histogram without error bars

From: Mark Horner (mjhorner@lbl.gov)
Date: Thu May 22 2003 - 17:33:50 MEST


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