Example of canvas partitioning with ratios The TPad::DivideRatios method enables partitioning of the canvas according to different
for (
int i =1; i<=
n; i++) {
}
}
auto C2 =
new TCanvas(
"C2",
"C2", 400, 0, 400, 400);
auto C3 =
new TCanvas(
"C3",
"C3", 0, 455, 400, 400);
auto C4 =
new TCanvas(
"C4",
"C4", 400, 455, 400, 400);
C4->DivideRatios(2, 2, {.2,.7}, {.4,.5}, 0.05, 0.01);
colorpads(
C4,4);
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
The most important graphics class in the ROOT system.
- Author
- Olivier Couet
Definition in file canvas3.C.