How to view fitting stats inside the canvas of a graph?

I am trying to fit a data using TF1 fit option in the TGraph class. I successfully fit the data also but I want to have the fitting data like chi^2, Value of all constants in the graph itself.
How should I do it?

gStyle->SetOptFit(1112);

1 Like

Thank you so much…

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