Re: 2dim fitting

Rene Brun (Rene.Brun@cern.ch)
Sat, 1 May 1999 10:59:13 +0200 (METDST)


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
> ---------------------------------------------------------------------
>