33 TF1 *
f1a =
new TF1(
"Gamma(x)",
"ROOT::Math::tgamma(x)",-2,5);
34 TF1 *
f2a =
new TF1(
"f2a",
"ROOT::Math::lgamma(x)",0,10);
35 TF2 *
f3a =
new TF2(
"Beta(x)",
"ROOT::Math::beta(x, y)",0,0.1, 0, 0.1);
36 TF1 *
f4a =
new TF1(
"erf(x)",
"ROOT::Math::erf(x)",0,5);
37 TF1 *
f4b =
new TF1(
"erfc(x)",
"ROOT::Math::erfc(x)",0,5);
57 h->GetXaxis()->SetTitleSize(0.06);
58 h->GetXaxis()->SetTitleOffset(.7);
59 h->GetXaxis()->SetTitle(
"x");
68 f1a->DrawCopy(
"same");
71 f1a->DrawCopy(
"same");
74 f1a->DrawCopy(
"same");
86 f2a->GetXaxis()->SetTitle(
"x");
87 f2a->GetXaxis()->SetTitleSize(0.06);
88 f2a->GetXaxis()->SetTitleOffset(.7);
100 f3a->SetLineWidth(2);
101 f3a->GetXaxis()->SetTitle(
"x");
102 f3a->GetXaxis()->SetTitleOffset(1.2);
103 f3a->GetXaxis()->SetTitleSize(0.06);
104 f3a->GetYaxis()->SetTitle(
"y");
105 f3a->GetYaxis()->SetTitleSize(0.06);
106 f3a->GetYaxis()->SetTitleOffset(1.5);
117 f4a->SetTitle(
"erf(x) and erfc(x)");
118 f4a->SetLineWidth(2);
119 f4b->SetLineWidth(2);
122 f4a->GetXaxis()->SetTitleSize(.06);
123 f4a->GetXaxis()->SetTitleOffset(.7);
124 f4a->GetXaxis()->SetTitle(
"x");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TStyle * gStyle
A 2-Dim function with parameters.
1-D histogram with a float per channel (see TH1 documentation)
A Pave (see TPave) with a text centered in the Pave.
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...