CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
Style.Style Class Reference

Public Member Functions

def SetStyle
 

Detailed Description

Definition at line 16 of file Style.py.

Member Function Documentation

def Style.Style.SetStyle (   self)

Definition at line 18 of file Style.py.

18 
19  def SetStyle(self):
20 
21  ROOT.gStyle.SetFrameBorderMode(0)
22  ROOT.gStyle.SetCanvasBorderMode(0)
23  ROOT.gStyle.SetPadBorderMode(0)
24 
25  ROOT.gStyle.SetFrameFillColor(0)
26  ROOT.gStyle.SetPadColor(0)
27  ROOT.gStyle.SetCanvasColor(0)
28  ROOT.gStyle.SetTitleColor(1)
29  ROOT.gStyle.SetStatColor(0)
30 
31  # set the paper & margin sizes
32  ROOT.gStyle.SetPaperSize(20,26)
33  ROOT.gStyle.SetPadTopMargin(0.06)
34  ROOT.gStyle.SetPadRightMargin(0.04)
35  ROOT.gStyle.SetPadBottomMargin(0.14)
36  ROOT.gStyle.SetPadLeftMargin(0.16)
37  ROOT.gStyle.SetPadTickX(1)
38  ROOT.gStyle.SetPadTickY(1)
39 
40  ROOT.gStyle.SetTextFont(42) #132
41  ROOT.gStyle.SetTextSize(0.09)
42  ROOT.gStyle.SetLabelFont(42,"xyz")
43  ROOT.gStyle.SetTitleFont(42,"xyz")
44  ROOT.gStyle.SetLabelSize(0.045,"xyz") #0.035
45  ROOT.gStyle.SetTitleSize(0.045,"xyz")
46  ROOT.gStyle.SetTitleOffset(1.5,"y")
47 
48  # use bold lines and markers
49  ROOT.gStyle.SetMarkerStyle(8)
50  ROOT.gStyle.SetHistLineWidth(2)
ROOT.gStyle.SetLineWidth(1)
def SetStyle
Definition: Style.py:18