24 sqroot->SetParameters(10.0, 4.0, 1.0, 20.0);
29 h1d->FillRandom(
"sqroot", 10000);
40 auto *
pad1 =
new TPad(
"pad1",
"The pad with the function", 0.05, 0.50, 0.95, 0.95);
41 auto *
pad2 =
new TPad(
"pad2",
"The pad with the histogram", 0.05, 0.05, 0.95, 0.45);
51 pad1->GetFrame()->SetBorderMode(-1);
52 pad1->GetFrame()->SetBorderSize(5);
64 pad2->GetFrame()->SetBorderMode(-1);
65 pad2->GetFrame()->SetBorderSize(5);
67 h1d->SetFillColor(45);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
1-D histogram with a double per channel (see TH1 documentation)
The most important graphics class in the ROOT system.
A Pave (see TPave) with a text centered in the Pave.