Re: [ROOT] fitting a TGraph in a range

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Mar 29 2002 - 08:23:50 MET


Hi David,

Currently, you have to specify the option "R" that will select
the function range if it is smaller than the graph range.
Interactively, you can also use the Fitpanel and the slider
to select the range.

I have added two optional arguments in TGraph::Fit (like in TH1)
to specify directly the fit range in the Fit function.
Now in CVS.

Rene Brun

On Thu, 28 Mar 2002, David R. Relyea wrote:

> Is there any reason why we can't easily fit a TGraph to a specific x
> range?  I know I can just make a function or copy the needed points to
> another TGraph, but I'm wondering if this functionality could be
> implemented (and why it hasn't - maybe there's some odd case I'm not
> considering which makes this non-trivial...).  Sorry to be a nag.  =)
> 
> David Relyea
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:47 MET