I can read out the parameter

Hello,

I am using the linear fit:

TF1*fit= new TF1(“fit”,“pol1”,0,1);

I can read out the parameter (slope and y-axis)
with
fit->GetParameter(0);
fit->GetParameter(1);

Now, I want to know the value where the fit crosses the x-axis (that means the value where y=0)
How can I read out this value?

Thanks!
Gordon___
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


TF1::GetX

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.