-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmyStyle.cc
More file actions
executable file
·48 lines (35 loc) · 1.14 KB
/
myStyle.cc
File metadata and controls
executable file
·48 lines (35 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
TStyle *myStyle = new TStyle("MyStyle","My Default Style File");
// from ROOT plain style
myStyle->SetOptTitle(0);
myStyle->SetOptLogy(0);
// myStyle->SetOptStat(0);
myStyle->SetPadTickX(1);
myStyle->SetCanvasBorderMode(0);
myStyle->SetPadBorderMode(0);
myStyle->SetPadColor(0);
myStyle->SetCanvasColor(0);
myStyle->SetTitleColor(1);
myStyle->SetStatColor(0);
myStyle->SetFrameFillColor(0);
// myStyle->SetLabelSize(0.03,"xyz"); // size of axis values
myStyle->SetLabelSize(0.045, "XYZ");
myStyle->SetLabelSize(0.04, "Y");
myStyle->SetTitleSize(0.05, "XYZ");
// default canvas positioning
myStyle->SetCanvasDefX(750);
myStyle->SetCanvasDefY(20);
myStyle->SetCanvasDefH(520);
myStyle->SetCanvasDefW(500);
myStyle->SetPadBottomMargin(0.1);
myStyle->SetPadTopMargin(0.02);
myStyle->SetPadLeftMargin(0.1);
myStyle->SetPadRightMargin(0.05);
myStyle->SetPadTickX(1);
myStyle->SetPadTickY(1);
myStyle->SetFrameBorderMode(0);
myStyle->SetHistMinimumZero(); // take out suppressed zero's
// US letter
// myStyle->SetPaperSize(20, 24);
myStyle->SetPalette(1);
}