Position of scientific term of TAxis

Hi ROOT expert!

For plotting a histogram with large bin content, the scientific term appears on top of the pad when the number of maximum digit on axis label reaches 5 by default.
Is there a method to move this scientific term of x10^??? around for the axis? This is because I want to overlap pads and this term could be covered.

A ‘practical’ solution is to use log or TGaxis::SetMaxDigits(6). But is there explicit control for it?

Thank you very much
RK


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/classTGaxis.html#ae93e9dfdbd24957b301f4c7090836b5f

 TGaxis::SetExponentOffset(-0.05,0.01,"Y");
1 Like

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