12 TCanvas *c1 =
new TCanvas(
"c1",
"Surfaces Drawing Options",200,10,700,900);
13 TPaveText *title =
new TPaveText(.2,0.96,.8,.995);
14 title->AddText(
"Examples of Surface options");
17 TPad *pad1 =
new TPad(
"pad1",
"Gouraud shading",0.03,0.50,0.98,0.95);
18 TPad *pad2 =
new TPad(
"pad2",
"Color mesh",0.03,0.02,0.98,0.48);
23 TF2 *f2 =
new TF2(
"f2",
"x**2 + y**2 - x**3 -8*x*y**4",-1,1.2,-1.5,1.5);
46 f2->GetHistogram()->GetXaxis()->SetTitle(
"x title");
47 f2->GetHistogram()->GetYaxis()->SetTitle(
"y title");
48 f2->GetHistogram()->GetXaxis()->SetTitleOffset(1.4);
49 f2->GetHistogram()->GetYaxis()->SetTitleOffset(1.4);