Dear Experts,
Kindly help in fixing the decimal places in the fitted values of a function in stat box. I have tried the option
gStyle->SetStatFormat(“4.3g”);
To get three decimal points but didn’t work
Thanks,
Divya
Dear Experts,
Kindly help in fixing the decimal places in the fitted values of a function in stat box. I have tried the option
gStyle->SetStatFormat(“4.3g”);
To get three decimal points but didn’t work
Thanks,
Divya
For the g
format, the meaning of the precision format specifier is way more complex, see https://en.cppreference.com/w/cpp/io/c/fprintf
Maybe use 4.3f
?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.