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.

1 Like

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.

1 Like

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

Thanks agian.

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