I want to fit an histogram with a sum of functions, like in the fit/multifit.C example.
If I ask root to show the fit parameters in the stat box I get only the parameters’ values of the first fit and not of the last one.
You can reproduce what I am saying by adding
gStyle->SetOptFit(); after the last line of the fit/multifit.C example.
Is this expected?
Of course I see the obvious workaround but I wanted to know if there’s a way to force the printing of the parameters of the last fitted function.
Many thanks in advance and best regards,