Dear all,
i’ve fitted two horizontal lines in different domains to my measurements-results. Now I have the problem that I wish the statbox to display the fit parameters for both lines, but it only displays the parameters of one.
[code] TF1 *g1 = new TF1(“g1”,“pol0”,0.0E-008,2.5E-008);
TF1 *g2 = new TF1(“g2”,“pol0”,2.5E-008,5.1E-008);
graph1 -> Fit(g1,"R");
graph1 -> Fit(g2,"R+");
gStyle->SetOptFit(0012);
graph1 -> Draw("AP");
[/code]