Set number of digits

But why not using global static variables gMaxDigitsX, gMaxDigitsY, gMaxDigitsZ that are not stored in the TFile? Just for plotting purposes.

This has been done with the exponential offset already. See:

TGaxis::SetExponentOffset(-0.01, 0.01, "y"); // X and Y offset for Y axis TGaxis::SetExponentOffset(-0.05, 0.01, "x"); // Y and Y offset for X axis