34 TF1 *
f1a =
new TF1(
"Gamma(x)",
"ROOT::Math::tgamma(x)",-2,5);
35 TF1 *
f2a =
new TF1(
"f2a",
"ROOT::Math::lgamma(x)",0,10);
36 TF2 *
f3a =
new TF2(
"Beta(x)",
"ROOT::Math::beta(x, y)",0,0.1, 0, 0.1);
37 TF1 *
f4a =
new TF1(
"erf(x)",
"ROOT::Math::erf(x)",0,5);
38 TF1 *
f4b =
new TF1(
"erfc(x)",
"ROOT::Math::erfc(x)",0,5);
58 h->GetXaxis()->SetTitleSize(0.06);
59 h->GetXaxis()->SetTitleOffset(.7);
60 h->GetXaxis()->SetTitle(
"x");
69 f1a->DrawCopy(
"same");
72 f1a->DrawCopy(
"same");
75 f1a->DrawCopy(
"same");
87 f2a->GetXaxis()->SetTitle(
"x");
88 f2a->GetXaxis()->SetTitleSize(0.06);
89 f2a->GetXaxis()->SetTitleOffset(.7);
101 f3a->SetLineWidth(2);
102 f3a->GetXaxis()->SetTitle(
"x");
103 f3a->GetXaxis()->SetTitleOffset(1.2);
104 f3a->GetXaxis()->SetTitleSize(0.06);
105 f3a->GetYaxis()->SetTitle(
"y");
106 f3a->GetYaxis()->SetTitleSize(0.06);
107 f3a->GetYaxis()->SetTitleOffset(1.5);
118 f4a->SetTitle(
"erf(x) and erfc(x)");
119 f4a->SetLineWidth(2);
120 f4b->SetLineWidth(2);
123 f4a->GetXaxis()->SetTitleSize(.06);
124 f4a->GetXaxis()->SetTitleOffset(.7);
125 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...