Hi all,
How can I do Paw-like
PAW> FUN/DRAW X2+Y2+Z**2=1
in Root?
Thanks,
Chul Su
Hi all,
How can I do Paw-like
PAW> FUN/DRAW X2+Y2+Z**2=1
in Root?
Thanks,
Chul Su
Try the following macro:
void f3()
{
// This example creates a 3D function and plots it.
TF3 *f3 = new TF3("f3","sin(x*x+y*y+z*z-36)",-2,2,-2,2,-2,2);
f3->SetClippingBoxOn(0,0,0);
f3->SetFillColor(30);
f3->SetLineColor(15);
f3->Draw();
}