[ROOT] Fitting Problem

From: Raphael Kindt (raphael_kindt@hotmail.com)
Date: Thu Mar 21 2002 - 19:14:23 MET


Hi all,

  I've got some problems fitting  a simple TGraph object with 4 point :

Double_t x[4] = { 666, 667, 668, 669}
Double_t y[4] = { 30811, 20136, 8566, 19211}
TGraph gr(4, x, y);
TF1 fgr("fgr", "pol3", x[0], x[3]);
gr.Draw("AL");

  The resulting fit doesn't match at all has it must be with 4 points. The 
same is working with 3 points and a pol2...

What am I doing wrong ?

Thanks in advance.

Raphaël

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx



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