RE: [ROOT] TGaxis options

From: Michael Groys (michaelg@infocyclone.com)
Date: Wed Feb 06 2002 - 11:31:52 MET


A lot of thanks for your assistance.
I'll try to use new version from cvs.
I have one more question.
It seems for me that setting number of
secondary ticks doesn't works well in log scale.
Am I right?
	Michael

-----Original Message-----
From: Rene Brun [mailto:Rene.Brun@cern.ch]
Sent: Tuesday, February 05, 2002 11:22 AM
To: Michael Groys
Cc: RootTalk
Subject: Re: [ROOT] TGaxis options


Hi Michael,

The options "+-u" cannot be specified with the PRO version of TAxis.
In the current development version in CVS, I have added a new function
TAxis::SetTicks(const char *option)
//  set ticks orientation
//  option = "+"  ticks drawn on the "positive side" (default)
//  option = "-"  ticks drawn on the "negative side" 
//  option = "+-" ticks drawn on both sides

In the PRO version, the equivalent of the option "U" can be obtained by
calling
SetLabelOffset with a large value for the offset, eg
   axis.SetLabelOffset(999);

Rene Brun


  Michael Groys wrote:
> 
> Hello all,
> How can I use advanced TGaxis options (such as "+-" "U") with
> the histogram axis.
> I know that TAxis uses TGaxis to draw the axis, but I didn't find
> possibility
> to provide such options to TAxis.
> 
> Thanks,
>         Michael



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET