Changing the exponent and axis labels

Hi,

My question is very simple.

I have an axis with labels 15, 20, 25, etc. with an exponent x 10^33 at the end of the axis.

I want the axis with labels 1.5, 2, 2.5, etc. with an exponent x 10^34 at the end of the axis.

SetDecimals and MaxDigits don’t do what I’m asking.

Thanks in advance!

Hi,

Olivier will probably help you once he’s back from vacation, but I think the exponent is set to be a multiple of 3 (engineer notation)…

Cheers, Bertrand.

Bertrand is right. The optimisation of the 10 exponent tries to make it a multiple of 3. Like in:

{
   TCanvas *c = new TCanvas();
   c->Draw();
   c->DrawFrame(0.,0.,0.0000000000001,1);
}