Hi Paul, Do: h->Draw("e2"); h->Draw("l hist same") Rene Brun On Fri, 29 Nov 2002, Paul Balm wrote: > Hi, > > Thanks for the quick answer, but this doesn't work in combination with > the option "E2": > h->Draw("L HIST") > works correctly, but > h->Draw("L E2 HIST") > or > h->Draw("L E2") > > do not show the line. > Regards, > > Paul > > > > Rene Brun wrote: > > >Hi Paul, > > > >Do: > > > >h->Draw("l hist") > > > >Rene Brun > > > >On Fri, 29 Nov 2002, Paul Balm wrote: > > > > > > > >>Hello, > >> > >>The draw-option "L" doesn't seem to work if Sumw2() on the histogram is > >>set. This is what happens: > >> > >>[root] TH1F* h = afile->Get("a_histo"); > >>[root] h->Draw("L") > >> > >>(looks right, line is drawn) > >> > >>[root] h->Sumw2() > >>[root] h->Draw("L") > >> > >>(line is *not* drawn) > >> > >>Am I doing something wrong, or is there maybe a way around this? > >>I would like to draw the histogram with the options "E2" and "L", and I > >>create it with TH1F::Divide, so I really need to set Sumw2. I guess I > >>could copy the final histogram to a new histogram by setting the bin > >>content and errors manually bin by bin, then draw the new histogram. > >>I'm using root 3.03/09 on Linux RH6. > >>Regards, > >> > >>Paul Balm > >> > >> > >> > >> > > > > > > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:21 MET