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");
117 f4a->
SetTitle(
"erf(x) and erfc(x)");
R__EXTERN TStyle * gStyle
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
virtual void SetTitleSize(Float_t size=0.04)
Set size of axis title.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
TAxis * GetYaxis() const
Get y axis of the function.
virtual void SetRange(Double_t xmin, Double_t xmax)
Initialize the upper and lower bounds to draw the function.
void SetTitle(const char *title="") override
Set function title if title has the form "fffffff;xxxx;yyyy", it is assumed that the function title i...
void Draw(Option_t *option="") override
Draw this function with its current attributes.
virtual TF1 * DrawCopy(Option_t *option="") const
Draw a copy of this function with its current attributes.
TAxis * GetXaxis() const
Get x axis of the function.
A 2-Dim function with parameters.
void Draw(Option_t *option="") override
Draw this function with its current attributes.
1-D histogram with a float per channel (see TH1 documentation)}
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
A Pave (see TPave) with a text centered in the Pave.
void Draw(Option_t *option="") override
Draw this pavelabel with its current attributes.
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...