Re: shifting powers of ten in axis labels
Rene Brun (Rene.Brun@cern.ch)
Thu, 18 Feb 1999 08:39:16 +0000
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