16void box(
double x1,
double y1,
double x2,
double y2,
int col)
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");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void w
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint TPoint const char y1
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 .