]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGCF/FLOW/papers/arXiv_1207.0900/SetPlotStyle.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGCF / FLOW / papers / arXiv_1207.0900 / SetPlotStyle.C
1 static  int      myDarkRed  = TColor::GetColor(128,0,0);
2 static  int      myLightRed  = TColor::GetColor(128,0,0);
3 static  int      myBlue     = 9;
4 static  int      myGreen     = kGreen+3;
5 static  int      mySysErrColorOpp   = 17;
6 static  int      mySysErrColorSame    = 11;
7 // static  int      myv1FluctColorSame    = 29;
8 static  int      myv1FluctColorSame    = TColor::GetColor(207,206,232);
9 // static  int      myv1FluctColorSame    = TColor::GetColor(212,212,212);
10 static  int      myToneevColor    = myDarkRed;
11 //static  int      myMarkerSize    = 2.0;
12
13 // =======================================================================//
14 void SetPlotStyle() {
15   // Set style which will affect all plots.
16   
17   gStyle->Reset();
18   gStyle->SetStatColor(0);
19   //gStyle->SetHistFillColor(17);
20   // gStyle->SetOptitle(0);
21   gStyle->SetOptStat("");
22   // gStyle->SetOptStat(0);
23   //gStyle->SetOptStat(111111);
24   //gStyle->SetOptDate(1);
25   // gStyle->SetPalette(8,0);  // (1,0)
26   gStyle->SetPalette(1);  // (1,0)
27   gStyle->SetDrawBorder(0);
28   // gStyle->SetFillColor(0);  // kills palete ???
29   gStyle->SetCanvasColor(0);
30   gStyle->SetPadColor(0);
31   // gStyle->SetFillColor(0); // otherwize it affects Fill colors later
32   gStyle->SetFrameFillColor(0);
33   gStyle->SetCanvasBorderMode(0);
34   gStyle->SetFrameBorderMode(0);
35   gStyle->SetFrameLineWidth(2);
36   // gStyle->SetFrameFillStyle(4000);
37   gStyle->SetPadBorderMode(0);
38   gStyle->SetPadTickX(1);
39   gStyle->SetPadTickY(1);
40   gStyle->SetPadBottomMargin(0.15);
41   gStyle->SetPadLeftMargin(0.15);
42   gStyle->SetHistLineWidth(2);
43   gStyle->SetFuncWidth(2);
44   gStyle->SetLineWidth(2);
45   gStyle->SetLabelSize(0.05,"xyz");
46   gStyle->SetLabelOffset(0.01,"y");
47   gStyle->SetLabelColor(kBlack,"xyz");
48   gStyle->SetTitleSize(0.06,"xyz");
49   gStyle->SetTitleOffset(1.1,"y");
50   gStyle->SetTitleFillColor(0);
51   gStyle->SetLineWidth(2);
52   gStyle->SetHistLineColor(1);
53   gStyle->SetTextColor(1);
54   gStyle->SetTitleTextColor(1);
55   TGaxis::SetMaxDigits(4);
56   gROOT->ForceStyle();
57 }