index font in the axis title

From: ZHU Fengrong <zhufr_at_ihep.ac.cn>
Date: Wed, 5 Jan 2011 15:04:37 +0800


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:05:01 CET

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