Hi dears,
When plotting I fitted histogram/graph the parameters from the fit are showed with different precision… is there any way to plot the fit parameters with the same number of digits?
Hi dears,
When plotting I fitted histogram/graph the parameters from the fit are showed with different precision… is there any way to plot the fit parameters with the same number of digits?
Try: gStyle->SetStatFormat("#11.3e");
gStyle->SetFitFormat("#11.3e");
The stats format can be change using:
gStyle->SetStatFormat("10.5g")
the string you pass is a C like in printf:
codingunit.com/printf-format … ted-output
Oh thanks a lot both of you! It worked beautifully!!