Hello,
So by default, the title of the y-axis is rotated by 90 degree counter-clockwise.
Is there any way to rotate it back so that the x-axis title and the y-axis title are oriented the same direction?
Thanks a lot!
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
I might be wrong, but I think it’s not possible, AFAICT you can only rotate it by 180 degrees. But maybe @couet will tell more once he’s back
1 Like
rlalik
3
You can clear the title and use TLatex class to put custom label. Perhaps the easiest way of doing this?
couet
4
{
auto h = new TH1F("h","h",10,0,1);
h->Draw();
auto Title = new TLatex(-0.05, 0, "Custom Y Title");
Title->SetTextAngle(90.);
Title->Draw();
}
1 Like