I can only repeat what I already said. TGAxis::SetMaxDigits is a static function. It changes a global option. We do not have a function setting this attribute per TAxis or TGaxis. Rene Brun On Wed, 28 Jul 2004, Vassili Maroussov wrote: > Dear Rene, > > the problem is (as pointed by Antoine) that with, say TH1->GetXaxis() one > can access the TAxis (not TGaxis) object, so one cannot use the > SetMaxDigits() > method. > > Vassili. > > Rene Brun wrote: > > >TGaxis::SetMaxDigits is a static function. See: > >http://root.cern.ch/root/htmldoc/TGaxis.html#TGaxis:SetMaxDigits > > > >simply call, eg > > TGaxis::SetMaxDigits(4); > > > >Rene Brun > > > > > >On Wed, 28 > >Jul 2004, > >Antoine Cazes wrote: > > > > > > > >> Hello rooters, > >> > >> I am trying to change the number of digit in the labels of a TAxis. I saw > >>that the method SetMaxDigit() of the Class TGaxis does it, but I don't know > >>how to acces this class from a TH1 or a TAxis. > >> > >> Thanks in advance for your help, > >> > >> Antoine > >> > >>·.·´¯`·.·´¯`·.·´¯`·.·´¯`·.@ > >> > >> _/_/ _/_/_/ _/ _/_/ _/ > >> _/ _/ _/ * _/ _/ _/ _/ > >> _/_/_/_/ _/ * * _/ _/_/_/_/ _/ > >> _/ _/ _/_/_/ _/_/_/ _/ _/ _/_/_/ > >> > >> Antoine Cazes Laboratoire de L'accélérateur Linéaire > >> bat 200 bureau 108 BP 34 > >> Tel:(+33) 1 64 46 84 29 91898 Orsay Cedex > >> Fax:(+33) 1 64 46 83 97 > >> > >> > >> > >> > >> > > > > > > > >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET