Re: index font in the axis title

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Wed, 5 Jan 2011 08:37:22 +0100


see documentation of TLatex at http://root.cern.ch/root/html/TLatex.html and look at section "Changing Style"

Rene Brun

On 05/01/2011 08:04, ZHU Fengrong wrote:
> Dear root users,
>
> About the index font I want to ask your help:
>
> I define a graph TGraph *gr,and I set the title of Yaxis like below:
>
> gr->GetXaxis()->SetTitle(" B_{#ita{y}} (GeV) ");
>
> here I want to change only the font of the index y with the other fonts(italion or Roma),not the defaut 62,but failed to do this. For any suggestion I would apperiate very much!
>
> Thank you!
>
> regards,
>
> Fengrong Zhu
>
Received on Wed Jan 05 2011 - 08:37:27 CET

This archive was generated by hypermail 2.2.0 : Wed Jan 05 2011 - 11:50:01 CET