RE: TAxis. Exponential notation for every label.

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Wed, 1 Apr 2009 15:31:45 +0200


Hi Dmitry,

It was not implemented in TGaxis::PaintAxis (see the code). This method comes from the igaxis cernlib routine and at that time only the x10 at the end of the axis was a requirement for linear axis. The exponant for labels reserved for log axis. The only way for you to bypass it with the existing code would be to define alphanumeric labels and set the labels yourself. But that's really heavy....

Cheers, Olivier

-----Original Message-----
From: naumov_at_numail.jinr.ru [mailto:naumov_at_numail.jinr.ru] Sent: Wednesday, April 01, 2009 3:25 PM
To: Olivier Couet; gonchar_at_nusun.jinr.ru; roottalk_at_lxbuild091.cern.ch; naumov_at_nusun.jinr.ru Subject: RE: [ROOT] TAxis. Exponential notation for every label.

Dear Olivier,
Why this is not possible on lin scale as well? Dmitry

3/27/2009, "Olivier Couet" <Olivier.Couet_at_cern.ch> ΧΩ ΠΙΣΑΜΙ:

>On log scale yes. On linear axis the exponent is put at the end of the
>axis.
>
>-----Original Message-----
>From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
>On Behalf Of Maxim Gonchar
>Sent: Friday, March 27, 2009 4:56 PM
>To: roottalk_at_lxbuild091.cern.ch
>Subject: [ROOT] TAxis. Exponential notation for every label.
>
>Hi,
>
>Is it possible to make exponential notation for every label on the
>TAxis,
>but not only in the end of it?
>
>Thank you.
>--
>best regards, Maxim Gonchar
>mailto:gonchar_at_nusun.jinr.ru
Received on Wed Apr 01 2009 - 15:31:56 CEST

This archive was generated by hypermail 2.2.0 : Wed Apr 01 2009 - 17:50:02 CEST