Hi all,
I am using these commands to label axis on TH2F
plot->GetXaxis()->SetTitle("Polar scattering angle (degrees)");
plot->GetYaxis()->SetTitle("Energy (keV)");
The y-axis labels fine, but the x-axis will not label. I get no error message. Also it will label from the editor.
Can anyone help
Thanks!