Re: shifting powers of ten in axis labels

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Feb 18 1999 - 09:39:16 MET


Eddy Offermann wrote:
> 
> Dear root-ers,
> 
> The commands
> 
> TH2F *frame;
> frame->GetXaxis()->SetLabelOffset(10);
> 
> do shift my x-axis labels, however, the 'power of ten' (10^xx)
> does not move. How can this be accomplished.
> 

Hi Eddy,
The only option I found acceptable was to always draw the exponent
at the same place to avoid text overlapping.
In your case, you want to get rid of the labels on the X axis.
you can do as above or better:
    frame->GetXaxis()->SetLabelSize(0);

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET