SetTextAttributes

Hi, I was wondering how to set the style of the statistics box to that of the rootlogon script? I know I can do this manually but I would like it to be done
by default in the rootlogon.C.

I have tried gStyle->SetStatFont(42) but nothing happens.

Thanks in advance, Caroline

You are right. It doesnot work for me either. I’ll look at it and let you know.

Very likely you are trying to plot an histogram already having its stats. In that case you should do something like

root [0]  gROOT->ForceStyle();  
root [1]  gStyle->SetStatFont(32)
root [2]  hpx->Draw();