Re: [ROOT] greek label on y or x axis

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sun Oct 29 2000 - 22:10:24 MET


Yes, TLatex is automatically used by all the titles. Example:

TH1F h("h","h",100,-3,3);
h.FillRandom("gaus");
h.GetXaxis()->SetTitle("m_{K#pi#pi} - m_{K#pi}[GeV/c^{2}]");
h.Draw();

Rene Brun

On Sun, 29 Oct 2000, Severino Tessarin wrote:

> Dear Rooters,
> 
> is there a way to write greek letters on the axis of a TGraph or TH1 using
> TLatex .
> May be this question is trivial but I didn't found any exemles about.
> (Root 2.25/02 (precompiled) , RedHat 6.2)
> Thanks in advaces,
> Seve.
>  
> 
> 
> 



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