Hi,
I have two questions about 2-dimensional Fit.
My coding:
Tree->Draw("leaf1:leaf2 >> hist",selection);
TF2 *fit1 = new TF2("fit1","[0]*x+[1]*y+[2]",xmin,xmax,ymin,ymax);
hist->Fit("fit1");
[hist TH2Fclass]
1.When using Fit commend, fitted function usually are drawn in c1 window.
But in this case Only 2-dimensional plot are drawn.
fit function(fit1) doesn't appear.
What is need to add fit function in the window ?
2."[0]*x+[1]*y+[2]" means that we fit hist by ax+by+c=0 ?
Please tell me why I cannot do.
--
Takefumi SORA <tak-sora@bg7.so-net.ne.jp>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:06 MET