Number of digits displayed in the STAT box

Dear rooters,

Plese tell me, how to set the number of digits displayed in the Stat box?
for example, this is my results, the mean x value is “-1.049”


Use SetStatFormat.

Thanks couet, it works for the stat values.

And set how to set the number of digits of the fit parameters displayed in the Stat box?

[SetStatFormat] doesn’t work.

Best regards

SetFitFormat

Thanks couet.
[SetFitFormat] has no errors. However it doesn’t work…

There no other setting.

I try again. It works.
gStyle->SetFitFormat(“%7.5e”);

Thanks agian.