Hi, Do: h1->Draw("hist"); h1->GetFunction("functionname")->Draw("same"); Rene Brun On Fri, 5 Sep 2003, Ahmet Sedat Ayan wrote: > > Hi Rooters, > I have a question: > Let's have an histogram h1 which was Sumw2()'ed and then fitted to a > function. > How can I draw h1 as an histogram (not with error bars) and the fit > function ? > > When I simply say h1->Draw(), it plots the "error barred" version along > with the fit. > If I say h1->Draw("hist"), it does NOT plot the Fit funtion... > > Thanks a lot for the answers.. > > sedat > > > > *************** > > Ahmet Sedat Ayan > > Physics & Astronomy Dept. > Van Allen Hall > University of Iowa > Iowa City, IA, 52242 > > Voice : (++ 1 319) 335-1941 (W) (GMT-6) > Occupation : Ph.D Candidate (But still dreamer!) > e-mail : ayan@cms.physics.uiowa.edu > web : http://jazz.physics.uiowa.edu/~ayan > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET