Re: [ROOT] Ticks on TH1

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed May 05 2004 - 21:42:01 MEST


Stefan,

Unfortunately, you do not indicate which version you are using.
In version 4.00/04 we implemented a frequent request to never display
odd values like 2e7 but only multiples of 3 in the exponent.
With this version you will get a scale between 0 and 20e6.
If you use an older version, you can play with the static function
TGaxis::SetMaxDigits(2)

Rene Brun

On 
Wed, 5 
May 2004, Stefan Hoeche wrote:

> 
> Hi Rooters,
> 
> can anybody tell me how to tell ROOT to display a 2000x10^4 as a 2.0e^7
> on a linear scale in TH1 ? It would help a lot to make my plots look nice
> :)
> 
> Thanks
> 	
> 	Stefan 
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET