Re: [ROOT] Tick Labels

From: Henrique de M. J. Barbosa - mestrado (hbarbosa@ifi.unicamp.br)
Date: Sat Dec 15 2001 - 13:28:24 MET


>
> In version 3.02, I added two new functions
>   - TAxis::SetNoExponent (also in the TAxis context menu)
>     with which you can enable/disable the 10^N notation
>
>   -TGAxis::SetMaxDigits. This is a static function that you can call
>    to specify the maximum number of digits in labels before switching
>    to the 10^N notation (global setting).
>

Hi Rene,

I know these functions you mention but my problem is that I would like to
have all tick labels with the same number of digits (better layout :) So I
would like to use TGAxis::SetMaxDigits but unfortunately TGraph creates a
TAxis and not a TGAxis object.

In fact I found two ways to have access to the axis created during
TGraph::Draw

  TGraph::GetYaxis()
  TGraph::GetHistogram()->GetYaxis()

... and both methods return a TAxis object. Is there any other way of
doing this?


thanks
henrique
****************************************
Henrique Barbosa      The Pierre Auger
PhD Student             Observatory

State University at Campinas - BRASIL
"Gleb Wathagin" Physics Institute
Department of Cosmic Rays and Chronology
****************************************



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:12 MET