ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
roots.C
Go to the documentation of this file.
1
TCanvas *roots()
2
{
3
TCanvas *S =
new
TCanvas(
"script"
,
"Roots"
,400,150);
4
5
TLatex Tl;
6
Tl.SetTextSize(0.15);
7
Tl.SetTextAlign(12);
8
TLatex Tt;
9
Tt.SetTextSize(0.15);
10
Tt.SetTextFont(82);
11
Tt.SetTextAlign(12);
12
13
// Draw First Column
14
float
y, x1, x2;
15
float
step = 0.5;
16
y = 0.75; x1 = 0.02; x2 = x1+0.8;
17
18
Tl.DrawLatex(x2, y,
"#sqrt{10}"
) ; Tt.DrawText(x1, y,
"#sqrt{10}"
);
19
y -= step ; Tl.DrawLatex(x2, y,
"#sqrt[3]{10}"
) ; Tt.DrawText(x1, y,
"#sqrt[3]{10}"
);
20
21
22
return
S;
23
}
graf2d
graf
doc
macros
roots.C
Generated on Tue May 5 2020 14:02:32 for ROOT by
1.8.5