[ROOT] TH1 refuse any draw option after a call to Sumw2

From: Patois Yannick (patois@ganil.fr)
Date: Tue Mar 20 2001 - 10:02:01 MET


Hi rooters,

If I compute the errors on any TH1 histogram, then I cannot any more
choose how to plot it. It *always* plot with option "E" whatever I do.

eg:
{
  TH1F *h=new TH1F("h1","h1",10,0,100);
  for (int ix=0;ix<100;ix++)
    h->Fill(ix,sqrt(ix));
  
  h->Sumw2();
  h->Draw("L"); // Will do h->Draw("E");
}

Is that an error or a feature ?

	Yannick

VERSION: ROOT version 3.00.05 on linux-ix86



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:40 MET