Showing fit statistics


I am running against a problem I don’t understand. I hope it is something easy and someone can explain it to me.

I have a TProfile which I draw and then fit with a personal function, with the “same” option so the fit is shown on the same pad. Even when the first line is gStyle->SetOptStat(kTRUE), the stats box for the fit is not drawn.

I have also tried doing gStyle->SetOptStat(kTRUE) before running the macro, with the same result.

I am using root 5.24/00b, on a 64 bit laptop with standard Ubuntu 9.10.

Thank you very much in advance,


TestOptStat.C (645 Bytes)

To select the fit parameters in teh stat box, do


Thank You so much! I knew it must be something obvious…