I have two TGraphs whose axes I would like to format. At the beginning of my macro I have
gStyle->SetLabelFont(62);
gStyle->SetTitleFont(62);
gROOT->ForceStyle();
Which works fine for the x axes but not for the y axes. How can I make the y axes formatted like the x axes?
linev
2
Hi,
There is second parameter in these methods:
gStyle->SetTitleFont(62, "Y");
See:
https://root.cern/doc/master/classTStyle.html#a314376e6f5f462154f8ef6cad969b815
1 Like
system
Closed
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.