Hi. I want fit to line my data. I create 2 float array x[] and y[] and TGraph object: TGraph *tg = new TGraph(N, x,y) tg->Draw("AP") tg->Fit("pol1","","AP") and I see on window my data point and fitting line. Trouble: 1. I see very short line. For example, data X range is 0.4-0.7, but line X range is about 0.54-0.56. 2. When I work with big N (~50000), parameters of fitting line is not valid. What is wrong? Voropaev S.G.
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET