ksmith
3
Just another issue with visualization in ROOT in log space. Here is an alternate solution:
void testTPolyLine3D(){
TCanvas* canvas = new TCanvas("canvas");
canvas->SetLogz();
TF2 *f2 = new TF2("myfunc","pow(10, x)",0,5,0,5);
f2->SetMinimum(1E0);
f2->SetMaximum(1E3);
f2->Draw("surf");
TPolyLine3D *l = new TPolyLine3D(2);
l->SetLineWidth(5);
l->SetPoint(0,0,0,log10(1E0));
l->SetPoint(1,1,0,log10(1E1));
l->SetPoint(2,2,0,log10(1E2));
l->SetPoint(3,3,0,log10(1E3));
l->Draw("same");
}
Other issues with log space include: