Hi Miroslav, Yes, there is a way to go around. Use option HIST as explained here: http://root.cern.ch/root/roottalk/roottalk03/1184.html Olivier On Thu, 10 Apr 2003, Miroslav Helbich wrote: > > Dear all (mainly developers), > > > I encountered a following feature: After calling TH1::Sumw2() method so > that my error bars after reweighting are calculated correctly I can only > draw the histogram with errors (e.g. draw option "E" is set > automatically! and I cannot use options like "L" or "C"). > Is there a way to go around? Can it be changed in the next release? > > TH1F* hh = new TH1F("hh","",10,0.,10.); > hh->Sumw2(); > hh->Fill(4.5,0.5); > hh->Fill(5.5,0.3); > hh->Draw("L"); // draws as with "E" > > I am using version 3.05/02 on Suse Linux, > > > Miro > > > -- Org: CERN - European Laboratory for Particle Physics. Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910 E-Mail: Olivier.Couet@cern.ch Phone: +41 22 7676522 WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7677155
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET