Re: [ROOT] Probably a very simple question...

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri May 19 2000 - 16:48:11 MEST


Hi Claire,

TLatex was not available in 2.20, only 2.23.

You can perfectly use TText instead.
You can create TText tyaxis
tyaxis.SetTextAngle(90)
to rotate your text.

Rene Brun

> Claire Gwenlan wrote
> 
> Hi,
> 
> I'm trying to label the axes of my histograms with
> greek letters, subscripts/superscripts etc. I have
> seen that there has been a reply to a similar
> questionas this before i.e. in version 2.23 you can
> use Latex expressions in titles, axis titles etc.
> However, I'm using version 2.20. Am I right in
> thinking you can't use Latex expressions in axis
> titles in this version, because the example Rene
> gave didn't seem to work for me?
> 
> Anyway, I've been able to label my x-axis as I
> want by using TText instead, but how do I do the
> y-axis so that the writing is vertical i.e. as it would
> be if I were to simply use SetYAxis.
> 
> Thanks,
> 
> Claire
> 
> __________________________________
>  Claire Gwenlan
>  Department of Physics & Astronomy
>  University College London
>  Gower Street
>  LONDON
>  WC1E 6BT
> 
>  Tel: (0171) 419 3454
> _________________________________



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:25 MET