ROOT logo
static  int      myDarkRed  = TColor::GetColor(128,0,0);
static  int      myLightRed  = TColor::GetColor(128,0,0);
static  int      myBlue     = 9;
static  int      myGreen     = kGreen+3;
static  int      mySysErrColorOpp   = 17;
static  int      mySysErrColorSame    = 11;
// static  int      myv1FluctColorSame    = 29;
static  int      myv1FluctColorSame    = TColor::GetColor(207,206,232);
// static  int      myv1FluctColorSame    = TColor::GetColor(212,212,212);
static  int      myToneevColor    = myDarkRed;
//static  int      myMarkerSize    = 2.0;

// =======================================================================//
void SetPlotStyle() {
  // Set style which will affect all plots.
  
  gStyle->Reset();
  gStyle->SetStatColor(0);
  //gStyle->SetHistFillColor(17);
  // gStyle->SetOptitle(0);
  gStyle->SetOptStat("");
  // gStyle->SetOptStat(0);
  //gStyle->SetOptStat(111111);
  //gStyle->SetOptDate(1);
  // gStyle->SetPalette(8,0);  // (1,0)
  gStyle->SetPalette(1);  // (1,0)
  gStyle->SetDrawBorder(0);
  // gStyle->SetFillColor(0);  // kills palete ???
  gStyle->SetCanvasColor(0);
  gStyle->SetPadColor(0);
  // gStyle->SetFillColor(0); // otherwize it affects Fill colors later
  gStyle->SetFrameFillColor(0);
  gStyle->SetCanvasBorderMode(0);
  gStyle->SetFrameBorderMode(0);
  gStyle->SetFrameLineWidth(2);
  // gStyle->SetFrameFillStyle(4000);
  gStyle->SetPadBorderMode(0);
  gStyle->SetPadTickX(1);
  gStyle->SetPadTickY(1);
  gStyle->SetPadBottomMargin(0.15);
  gStyle->SetPadLeftMargin(0.15);
  gStyle->SetHistLineWidth(2);
  gStyle->SetFuncWidth(2);
  gStyle->SetLineWidth(2);
  gStyle->SetLabelSize(0.05,"xyz");
  gStyle->SetLabelOffset(0.01,"y");
  gStyle->SetLabelColor(kBlack,"xyz");
  gStyle->SetTitleSize(0.06,"xyz");
  gStyle->SetTitleOffset(1.1,"y");
  gStyle->SetTitleFillColor(0);
  gStyle->SetLineWidth(2);
  gStyle->SetHistLineColor(1);
  gStyle->SetTextColor(1);
  gStyle->SetTitleTextColor(1);
  TGaxis::SetMaxDigits(4);
  gROOT->ForceStyle();
}
 SetPlotStyle.C:1
 SetPlotStyle.C:2
 SetPlotStyle.C:3
 SetPlotStyle.C:4
 SetPlotStyle.C:5
 SetPlotStyle.C:6
 SetPlotStyle.C:7
 SetPlotStyle.C:8
 SetPlotStyle.C:9
 SetPlotStyle.C:10
 SetPlotStyle.C:11
 SetPlotStyle.C:12
 SetPlotStyle.C:13
 SetPlotStyle.C:14
 SetPlotStyle.C:15
 SetPlotStyle.C:16
 SetPlotStyle.C:17
 SetPlotStyle.C:18
 SetPlotStyle.C:19
 SetPlotStyle.C:20
 SetPlotStyle.C:21
 SetPlotStyle.C:22
 SetPlotStyle.C:23
 SetPlotStyle.C:24
 SetPlotStyle.C:25
 SetPlotStyle.C:26
 SetPlotStyle.C:27
 SetPlotStyle.C:28
 SetPlotStyle.C:29
 SetPlotStyle.C:30
 SetPlotStyle.C:31
 SetPlotStyle.C:32
 SetPlotStyle.C:33
 SetPlotStyle.C:34
 SetPlotStyle.C:35
 SetPlotStyle.C:36
 SetPlotStyle.C:37
 SetPlotStyle.C:38
 SetPlotStyle.C:39
 SetPlotStyle.C:40
 SetPlotStyle.C:41
 SetPlotStyle.C:42
 SetPlotStyle.C:43
 SetPlotStyle.C:44
 SetPlotStyle.C:45
 SetPlotStyle.C:46
 SetPlotStyle.C:47
 SetPlotStyle.C:48
 SetPlotStyle.C:49
 SetPlotStyle.C:50
 SetPlotStyle.C:51
 SetPlotStyle.C:52
 SetPlotStyle.C:53
 SetPlotStyle.C:54
 SetPlotStyle.C:55
 SetPlotStyle.C:56
 SetPlotStyle.C:57
 SetPlotStyle.C:58