TF2 function (SURF2) Axis title?

hi how can i set a title to the 3 axis of my TF2 function

i tried already the TF2 *f2 = new TF2(“f2”,“ffffff;xxx;yyy;…)” but it din not work here my code

void francktamm()
{


  TF2 *f2 = new TF2("f2","(0.045850618*pow(sin(y),2))/(pow(x,2));bla;bla",200.0E-9,700.0E-9,0.0,0.02617);
  // gStyle->SetOptTitle(kFALSE);
   
  f2->SetTitle("Differential Cherenkov Photon Flux");
//  f2->GetYmin(0.0);
//  f2->GetYmax(1.5);
//  f2->GetXmin(200E-9);
//  f2->GetXmax(600E-9);
  TCanvas *c3 = new TCanvas("c3","Peak Flux vs Mean Flux",400,10,700,500);
  gStyle->SetPalette(1,0);
  c3->SetFillColor(0);
  // c3->SetLogx();
  // c3->SetLogy();

 
   f2->Draw("SURF2Z");

 c3->Update();

}

please help.

best regards sebastian

see below

Rene

[code]void franktamm()
{
TF2 f2 = new TF2(“f2”,"(0.045850618pow(sin(y),2))/(pow(x,2))",200.0E-9,700.0E-9,0.0,0.02617);

f2->SetTitle(“Differential Cherenkov Photon Flux;blax;blay;blaz”);
f2->GetXaxis()->SetTitleOffset(1.2);
f2->GetYaxis()->SetTitleOffset(1.5);
f2->GetZaxis()->SetTitleOffset(1.2);
TCanvas *c3 = new TCanvas(“c3”,“Peak Flux vs Mean Flux”,400,10,700,500);
gStyle->SetPalette(1,0);
c3->SetFillColor(0);

f2->Draw(“SURF2Z”);
}
[/code]