Ooops, I made a mistake, I should have remembered that this only works if
the function has already been drawn...
TF2 *ex = new TF2(........);
ex->Draw();
ex->GetHistogram()->GetXaxis()->SetTitle("x");
ex->GetHistogram()->GetYaxis()->SetTitle("y");
Then you just need to update the canvas (canvas->Modified() does the
job) in which you've drawn the TF2...
Apologies for the mistake...
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