29 c1->GetFrame()->SetFillColor(21);
30 c1->GetFrame()->SetBorderMode(-1);
31 c1->GetFrame()->SetBorderSize(5);
36 TF1 *sqroot =
new TF1(
"sqroot",
"x*gaus(0) + [3]*form1", 0.0, 10.0);
43 TH1D *h1d =
new TH1D(
"h1d",
"Test random numbers", 200, 0.0, 10.0);
58 fitlabel->SetTextAlign(12);
59 fitlabel->SetFillColor(42);
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
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.
void Print(Option_t *option="") const override
This method must be overridden when a class wants to print itself.
virtual void SetParameters(const Double_t *params)
1-D histogram with a double per channel (see TH1 documentation)
virtual void FillRandom(TF1 *f1, Int_t ntimes=5000, TRandom *rng=nullptr)
virtual TFitResultPtr Fit(const char *formula, Option_t *option="", Option_t *goption="", Double_t xmin=0, Double_t xmax=0)
Fit histogram with function fname.
const char * Data() const
TString & Append(const char *cs)