21 void mathcoreStatFunc() {
23 TF2 *f1a =
new TF2(
"f1a",
"ROOT::Math::cauchy_pdf(x, y)",0,10,0,10);
24 TF2 *f2a =
new TF2(
"f2a",
"ROOT::Math::chisquared_pdf(x,y)",0,20, 0,20);
25 TF2 *f3a =
new TF2(
"f3a",
"ROOT::Math::gaussian_pdf(x,y)",0,10,0,5);
26 TF2 *f4a =
new TF2(
"f4a",
"ROOT::Math::tdistribution_pdf(x,y)",0,10,0,5);
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void Draw(Option_t *option="")
Draw this function with its current attributes.
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.
R__EXTERN TSystem * gSystem
A 2-Dim function with parameters.
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.