Number of digits on TH2F axis

Hi all,
I have a TH2F (cef3VsScintFront) with:
-x-axis going from 0 to 4000
-y-axis from 0 to 1200

and I want to set exponential notation on x-axis (from 0 to 4 x10^3)
keeping the normal one (from 0 to 1200) to the x-axis.
If I do:
((TGaxis*)cef3VsScintFront->GetXaxis())->SetMaxDigits(2);

BOTH axis are in the exponential notation, not only the x-axis.
Is this a bug?
Someone knows how to set separately MaxDigits for y and x axis?

SetMaxDigits is a global setting. Ex:

 TGaxis::SetMaxDigits(2);