gStyle->SetLabelFont() rootlogon.C only changes x axis, not y axis or title

I just test a bit more. My rootlogon.C is:

   gROOT->ForceStyle();
   TFile hsimple("hsimple.root");
   gStyle->SetLabelFont(12,"x");
   gStyle->SetLabelFont(12,"y");
```

and I get the following picture. As you see the label font changed to "12" (times italic).
<img src="/uploads/default/original/2X/c/cb7ad53bcc4b05ba9cac3a176d064ad81f8bf6c5.png" width="690" height="469">

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