How to show only Chisquare/Number of degrees of freedom in setoptfit?

Hello,

I’m trying to have only the Chisquare/Number of degrees of freedom in the setoptfit option, but I’m unable to do so.

I’ve tried the following:

gStyle -> SetOptStat(0);
gStyle -> SetOptFit(0100);

But it shows parameters’ values and not what I want. In the statistics box I want only the chisquare/number-of-degrees-of-freedom and nothing else. How do I accomplish that?

gStyle->SetOptFit(100);

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