36 TCanvas *
c =
new TCanvas(
"canvas",
"Parametric surfaces with gl", 100, 10,
44 "1.2 ^ u * (1 + cos(v)) * cos(u)",
45 "1.2 ^ u * (1 + cos(v)) * sin(u)",
46 "1.2 ^ u * sin(v) - 1.5 * 1.2 ^ u",
52 "cos(u) * (4 + 3.8 * cos(v)) ",
53 "sin(u) * (4 + 3.8 * cos(v))",
54 "(cos(v) + sin(v) - 1) * (1 + sin(v)) * log(1 - pi * v / 10) + 7.5 * sin(v)",
60 "(abs(u) - 1) ^ 2 * cos(v)",
61 "(abs(u) - 1) ^ 2 * sin(v)",
68 "2 * sin(3 * u) / (2 + cos(v))",
69 "2 * (sin(u) + 2 * sin(2 * u)) / (2 + cos(v + 2 * pi / 3))",
70 "(cos(u) - 2 * cos(2 * u)) * (2 + cos(v)) * (2 + cos(v + 2 * pi / 3)) / 4",
static double p3(double t, double a, double b, double c, double d)
R__EXTERN TStyle * gStyle
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
void SetFrameFillColor(Color_t color=1)
static double p2(double t, double a, double b, double c)
void SetCanvasPreferGL(Bool_t prefer=kTRUE)
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
static double p1(double t, double a, double b)
A parametric surface is a surface defined by a parametric equation, involving two parameters (u...
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.