Example illustrating divided pads and Latex.
void quarks () {
tex.
DrawLatex(0.5,0.067,
"Three Generations of Matter");
TPad *pad =
new TPad(
"pad",
"pad",0.15,0.11,0.85,0.79);
pad->
Divide(4,4,0.0003,0.0003);
pad->
cd(1);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
pad->
cd(2);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
pad->
cd(3);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
pad->
cd(4);
gPad->SetFillColor(forceColor);
gPad->SetBorderSize(border);
pad->
cd(5);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
pad->
cd(6);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
pad->
cd(7);
gPad->SetFillColor(quarkColor);
gPad->SetBorderSize(border);
pad->
cd(8);
gPad->SetFillColor(forceColor);
gPad->SetBorderSize(border);
pad->
cd(9);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
pad->
cd(10);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
pad->
cd(11);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
pad->
cd(12);
gPad->SetFillColor(forceColor);
gPad->SetBorderSize(border);
pad->
cd(13);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
pad->
cd(14);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
pad->
cd(15);
gPad->SetFillColor(leptonColor);
gPad->SetBorderSize(border);
pad->
cd(16);
gPad->SetFillColor(forceColor);
gPad->SetBorderSize(border);
}
- Author
- Rene Brun
Definition in file quarks.C.