{ //gROOT->SetStyle("Plain"); gStyle->SetPalette(1,0); //Use nice colors for COLZ etc. histograms gStyle->SetCanvasColor(kWhite); gStyle->SetCanvasBorderMode(0);//Remove border gStyle->SetCanvasDefH(500); //Set canvas height in pixels gStyle->SetCanvasDefW(620); //Set canvas width in pixels gStyle->SetCanvasDefX(100); //Set on screen X position in pixels gStyle->SetCanvasDefY(3); //Set on screen Y position in pixels gStyle->SetFrameBorderMode(0); gStyle->SetFrameFillStyle(0); gStyle->SetFrameFillColor(kWhite); gStyle->SetPadTopMargin(.08); gStyle->SetPadRightMargin(.02); gStyle->SetPadLeftMargin(.10); gStyle->SetPadBottomMargin(.10); gStyle->SetPadBorderMode(0); gStyle->SetOptFit(1); gStyle->SetOptStat(1110); gStyle->SetStatY(0.97); // Set y-position (fraction of pad size) gStyle->SetStatX(0.97); // Set x-position (fraction of pad size) gStyle->SetStatW(0.18); // Set width of stat-box (fraction of pad size) gStyle->SetStatH(0.16); // Set height of stat-box (fraction of pad size) gStyle->SetStatFont(42); gStyle->SetNdivisions(707,"X"); gStyle->SetNdivisions(707,"Y"); gStyle->SetErrorX(.05); gStyle->SetTitleFont(42, "XYZ"); gStyle->SetTitleFont(42, "title"); gStyle->SetTitleSize(.04,"XYZ"); gStyle->SetTitleSize(.04,"title"); gStyle->SetTitleOffset(0.9,"X"); gStyle->SetTitleOffset(0.9,"Y"); gStyle->SetTitleFillColor(kWhite); gStyle->SetTitleBorderSize(0); gStyle->SetMarkerStyle(8); gStyle->SetMarkerColor(kBlack); gStyle->SetMarkerSize(0.2); gStyle->SetHistLineWidth(1.5); gStyle->SetHistLineStyle(0); gStyle->SetHistLineColor(kBlue); gStyle->SetFuncWidth(3); gStyle->SetLabelFont(42,"XYZ"); gStyle->SetHistLineWidth(2); gStyle->SetFuncColor(kBlue); gROOT->ForceStyle(); }