Home | News | Documentation | Download

Setting the printed decimal places in fit parameters


#1

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


#2

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?


#3

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