[ROOT] h->Draw("hist") and Sumw2

From: Ahmet Sedat Ayan (ayan@cms.physics.uiowa.edu)
Date: Fri Sep 05 2003 - 22:50:16 MEST


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