Re: 2dim fitting

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat May 01 1999 - 10:59:13 MEST


Please, read the tutorials graph.C and myfit.C
You create a TGraph(n,x,y) object with your array of points,
then invoke TGraph::Fit with your user defined function.

Rene Brun

On Fri, 30 Apr 1999, Markus Weiss wrote:

> Hi,
> 
> I like to fit  a function of two values f(x,y) with 3 parameters
> to datapoints of
> 
>     x1, y1, f1
>     x2, y2, f2
>     ....
> 
> I tried the ntuple-class, and TF2 for the usersupplied function,
> but seem not to get the desired result. Basically I'm lost...
> 
> Has anyone solved this rather simple problem ?
> 
> Thanks,  Markus.
> 
> --
> ---------------------------------------------------------------------
> Markus Weiss                                  "Ah elbereth glithoniel
> BESSY-2 Projektteam                            silvren penna miriel"
> e-mail: weiss@abbe.exp.bessy.de               phone: +49-30-6392-2941
> ---------------------------------------------------------------------
> 



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