Problems with changing label

Hello, in this macro I’ve a text on the x-axis.
Setting the rotation 0, the text cover the x-axis

Setting angle 45 the text is cutted
Setting other angle, (for example 80) it looks like to me that the text doesn’t have the setted angle but 4 then the text is still cut. How resolve without reducing the text size?
data_sigma_q.txt (46 Bytes)
sigmavalue.cpp (3.8 KB)


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


https://root.cern/doc/master/classTAttPad.html#a1a2504e1a01f74c2dfd983a7e7dd06c2

Hello, I used

c01->SetBottomMargin(n);

where n is a number, but I still get cut text (even using large n value).

c01->SetBottomMargin(0.3);

Gives:

Thank you @couet!

1 Like

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