[ROOTTALK] drawing range of fitting function

From: Gerco Onderwater (onderwat@nialas.npl.uiuc.edu)
Date: Thu Sep 02 1999 - 00:36:29 MEST


Hi Rooters,

I experience the following behaviour that I don't like too much.  I fit a
subrange of a 1D histogram by setting the x-range of the function and by
using the option "R" in ->Fit(). After the fit is done, the histogram is
drawn and in order to inspect the goodness of the fit, I start a
drawpanel. However, after drawing one subrange of the histo, I cannot draw
another subrange without manually reseting the plotting range of the
fitted function. Can someone do something about that or was it a designed
feature?

In general, the idea of coupling the fitting range to the drawing range of
a histogram doesn't seem right to me (drawing a subrange of the histo,
forgetting to reset it and then fitting that same histogram will limit the
fitting range to the smallest of the range of the function and the drawing
window).

Thanks,

-- Gerco

Dr. C.J.G. Onderwater
Nuclear Physics Laboratory
312 Loomis Laboratory of Physics
University of Illinois at Urbana-Champaign
1110 West Green Street
Urbana, IL 61801-3080     
Phone : (217) 244-7363
Fax   : (217) 333-1215  
E-mail: onderwat@uiuc.edu



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET