Hi Sven,
I already implemented this functionality last month in version 3.02.
In the release notes, you can read:
2001-09-20 15:24 brun
* graf/: inc/TGaxis.h, src/TGaxis.cxx:
Add a static member fgMaxDigits with the corresponding getter and
setter.
fgMaxDigits is the maximum number of digits permitted for the axis
labels above which the notation with 10^N is used.
For example, to accept 6 digits number like 900000 on an axis
call TGaxis::SetMaxDigits(6). The default value is 5.
Note that TGaxis::SetMaxDigits is a static function
Rene Brun
Sven A. Schmidt wrote:
>
> Is there a way to prevent root from writing exponentials at the far end
> of the axis? I have a plot that goes from 0.12 to 0.02 x 10^{-2} and
> root writes it just like that, with the 10^{-2} at the right end of the
> x axis. Now this is easy to overlook and also a problem for comparing
> plots with ranges of different orders of magnitude.
>
> Can I somehow force root to write 0.0012 to 0.0002 on the x axis?
>
> TIA,
> Sven
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:03 MET