13 for (
int i =1; i<=
n; i++) {
23 auto C1 =
new TCanvas(
"C1",
"C1", 400, 400);
24 C1->DivideRatios(2, 2, {.2,.8}, {.4,.6}); colorpads(C1,4);
27 auto C2 =
new TCanvas(
"C2",
"C2", 400, 0, 400, 400);
28 C2->DivideRatios(2, 3, {.2,.8}); colorpads(C2,6);
31 auto C3 =
new TCanvas(
"C3",
"C3", 0, 455, 400, 400);
32 C3->DivideRatios(2, 2); colorpads(C3,4);
35 auto C4 =
new TCanvas(
"C4",
"C4", 400, 455, 400, 400);
36 C4->DivideRatios(2, 2, {.2,.7}, {.4,.5}, 0.05, 0.01); colorpads(C4,4);
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
The most important graphics class in the ROOT system.
void Update() override
Update pad.
void Modified(Bool_t flag=true) override
Mark pad modified Will be repainted when TCanvas::Update() will be called next time.
constexpr Double_t C()
Velocity of light in .