How to get 1 as 10^{0} in y-axis in root?

Hello all,

I am using ROOT 5.34/32. In the attached plot, I am getting the y-axis label as shown by black color. But I need 1 as 10^{0} and 10 as 10^{1}, shown by red color. Could you please suggest how to get it? TGaxis::SetMaxDigits(6) does not work.

Thanks in advance,


10^{0} and 10{1} are explicitly avoided because we do not want this in most cases.
There is a possibility to change labels with
but not with 5.34

Thank you so much !! It worked after switching to ROOT 6

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