16void box(
double x1,
double y1,
double x2,
double y2,
int col)
18 auto b1 =
new TBox(x1, y1, x2, y2);
19 b1->SetFillColor(col);
23 auto tc =
new TLatex((x2 + x1) / 2., 0.01 + (y2 + y1) / 2.,
Form(
"#splitline{%s}{%s}",
c->GetName(),
c->GetTitle()));
26 tc->SetTextSize(0.020);
30void accessiblecolorschemes()
32 auto C =
new TCanvas(
"C",
"C", 600, 800);
38 t->SetTextSize(0.025);
44 t->DrawText(
x,
y -
h / 2.,
"6-colors scheme");
53 t->DrawText(
x,
y -
h / 2.,
"8-colors scheme");
62 t->DrawText(
x,
y -
h / 2.,
"10-colors scheme");
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
constexpr Double_t C()
Velocity of light in .