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);
117 f4a->
SetTitle(
"erf(x) and erfc(x)");
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void Draw(Option_t *option="")
Draw this function with its current attributes.
virtual void SetMaximum(Double_t maximum=-1111)
static double p3(double t, double a, double b, double c, double d)
virtual TF1 * DrawCopy(Option_t *option="") const
Draw a copy of this function with its current attributes.
R__EXTERN TStyle * gStyle
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
virtual void SetRange(Double_t xmin, Double_t xmax)
Initialize the upper and lower bounds to draw the function.
virtual void SetMinimum(Double_t minimum=-1111)
1-D histogram with a float per channel (see TH1 documentation)}
TAxis * GetXaxis() const
Get x axis of the function.
virtual void Draw(Option_t *option="")
Draw this function with its current attributes.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
TAxis * GetYaxis() const
Get y axis of the function.
static double p2(double t, double a, double b, double c)
A Pave (see TPave) with a text centered in the Pave.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
static double p1(double t, double a, double b)
A 2-Dim function with parameters.
virtual void SetTitleSize(Float_t size=0.04)
Set size of axis title The size is expressed in per cent of the pad width.
virtual void SetTitle(const char *title="")
Set function title if title has the form "fffffff;xxxx;yyyy", it is assumed that the function title i...
virtual void Draw(Option_t *option="")
Draw this pavelabel with its current attributes.
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.
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...