Re: [ROOT] Axis title setting

From: Ben Morgan (B.Morgan@sheffield.ac.uk)
Date: Mon Mar 17 2003 - 16:08:11 MET


Hi Annalisa,
            If you mean a TF2, then you need to access the histogram used 
to draw the function, from which you can access the appropriate axes:

TF2 *ex = new TF2(........);
ex->GetHistogram()->GetXaxis()->SetTitle("x");
ex->GetHistogram()->GetYaxis()->SetTitle("y"); 

Hope this helps,

Ben.

-- 
-------------------------------------------------------------------------------
Mr. Ben Morgan                               Tel: 44 (0)114 22 23553 (Work)
Postgraduate Student
University of Sheffield
Department of Physics & Astronomy
Hicks Building
Hounsfield Road
Sheffield  S3 7RH
-------------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET