4 TStyle *MyStyle =
new TStyle (
"MyStyle",
"My style for nicer plots");
6 Float_t xoff = MyStyle->GetLabelOffset(
"X"),
7 yoff = MyStyle->GetLabelOffset(
"Y"),
8 zoff = MyStyle->GetLabelOffset(
"Z");
10 MyStyle->SetCanvasBorderMode ( 0 );
11 MyStyle->SetPadBorderMode ( 0 );
12 MyStyle->SetPadColor ( 0 );
13 MyStyle->SetCanvasColor ( 0 );
14 MyStyle->SetTitleColor ( 0 );
15 MyStyle->SetStatColor ( 0 );
16 MyStyle->SetTitleBorderSize ( 0 );
17 MyStyle->SetTitleFillColor ( 0 );
18 MyStyle->SetTitleH ( 0.07 );
19 MyStyle->SetTitleW ( 1.00 );
20 MyStyle->SetTitleFont ( 132 );
22 MyStyle->SetLabelOffset (1.5*xoff,
"X");
23 MyStyle->SetLabelOffset (1.5*yoff,
"Y");
24 MyStyle->SetLabelOffset (1.5*zoff,
"Z");
26 MyStyle->SetTitleOffset (0.9,
"X");
27 MyStyle->SetTitleOffset (0.9,
"Y");
28 MyStyle->SetTitleOffset (0.9,
"Z");
30 MyStyle->SetTitleSize (0.045,
"X");
31 MyStyle->SetTitleSize (0.045,
"Y");
32 MyStyle->SetTitleSize (0.045,
"Z");
34 MyStyle->SetLabelFont (132,
"X");
35 MyStyle->SetLabelFont (132,
"Y");
36 MyStyle->SetLabelFont (132,
"Z");
38 MyStyle->SetPalette(1);