17 canv->ToggleEventStatus();
18 canv->SetRightMargin(0.2);
19 canv->SetLeftMargin(0.01);
20 canv->SetTopMargin(0.01);
21 canv->SetBottomMargin(0.01);
26 TF2 *f2 =
new TF2(
"f2",
"(xygaus + xygaus(5) + xylandau(10))", -4, 4, -4, 4);
27 Double_t params[] = {130, -1.4, 1.8, 1.5, 1, 150, 2, 0.5, -2, 0.5, 3600, -2, 0.7, -3, 0.3};
29 TH2D *h2 =
new TH2D(
"h2",
"xygaus + xygaus(5) + xylandau(10)", 100, -4, 4, 100, -4, 4);
33 img->StartPaletteEditor();
double Double_t
Double 8 bytes.
R__EXTERN TImagePalette * gHistImagePalette
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
const Double_t * GetArray() const
virtual void SetParameters(const Double_t *params)
A 2-Dim function with parameters.
virtual Int_t GetNbinsY() const
virtual Int_t GetNbinsX() const
2-D histogram with a double per channel (see TH1 documentation)
void FillRandom(TF1 *f1, Int_t ntimes=5000, TRandom *rng=nullptr) override
Fill histogram following distribution in function fname.
An abstract interface to image processing library.
static TImage * Create()
Create an image.