26 TCanvas *
c =
new TCanvas(
"canvas",
"Parametric surfaces with gl", 100, 10,
34 "1.2 ^ u * (1 + cos(v)) * cos(u)",
35 "1.2 ^ u * (1 + cos(v)) * sin(u)",
36 "1.2 ^ u * sin(v) - 1.5 * 1.2 ^ u",
42 "cos(u) * (4 + 3.8 * cos(v)) ",
43 "sin(u) * (4 + 3.8 * cos(v))",
44 "(cos(v) + sin(v) - 1) * (1 + sin(v)) * log(1 - pi * v / 10) + 7.5 * sin(v)",
50 "(abs(u) - 1) ^ 2 * cos(v)",
51 "(abs(u) - 1) ^ 2 * sin(v)",
58 "2 * sin(3 * u) / (2 + cos(v))",
59 "2 * (sin(u) + 2 * sin(2 * u)) / (2 + cos(v + 2 * pi / 3))",
60 "(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)
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.