Test the TMath::BetaDist and TMath::BetaDistI functions
void mathBeta() {
TF1 *fbeta =
new TF1(
"fbeta",
"TMath::BetaDist(x, [0], [1])", 0, 1);
TF1 *fbetai=
new TF1(
"fbetai",
"TMath::BetaDistI(x, [0], [1])", 0, 1);
}
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual TF1 * DrawCopy(Option_t *option="") const
Draw a copy of this function with its current attributes.
virtual void SetParameters(const Double_t *params)
This class displays a legend box (TPaveText) containing several legend entries.
TLegendEntry * AddEntry(const TObject *obj, const char *label="", Option_t *option="lpf")
Add a new entry to this legend.
void Draw(Option_t *option="") override
Draw this legend with its current attributes.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual void SetGrid(Int_t valuex=1, Int_t valuey=1)=0
virtual TVirtualPad * cd(Int_t subpadnumber=0)=0
- Author
- Anna Kreshuk
Definition in file mathBeta.C.