FRIB_e21062/rootlogon.C
2022-05-24 18:21:12 -04:00

43 lines
1.7 KiB
C

{
printf("=================== Root v%s\n", gROOT->GetVersion());
gStyle->SetOptStat("neiou");
gStyle->SetPalette(1);
gStyle->SetLineWidth(2);
gStyle->SetStatW(0.3);
gStyle->SetStatH(0.3);
gStyle->SetTitleW(0.4);
gStyle->SetTitleH(0.1);
gStyle->SetCanvasBorderMode(0);
gStyle->SetPadBorderMode(0);
gStyle->SetPadColor(0);
gStyle->SetFrameBorderMode(0);
gStyle->SetFrameLineWidth(2);
gStyle->SetCanvasColor(0);
gStyle->SetOptDate(4);
gStyle->GetAttDate()->SetTextFont(62);
gStyle->GetAttDate()->SetTextSize(0.02);
gStyle->GetAttDate()->SetTextAngle(0);
gStyle->GetAttDate()->SetTextAlign(11);
gStyle->GetAttDate()->SetTextColor(1);
gStyle->SetDateX(0);
gStyle->SetDateY(0);
gROOT->SetStyle("Plain"); // plain histogram style
gStyle->SetOptStat("nemruoi"); // expanded stats box
gStyle->SetPadTickX(1); // tic marks on all axes
gStyle->SetPadTickY(1); //
gStyle->SetOptFit(1111); // the results of the fits
gStyle->SetPadGridX(kTRUE); // draw horizontal and vertical grids
gStyle->SetPadGridY(kTRUE);
gStyle->SetPalette(1,0); // pretty and useful palette
gStyle->SetHistLineWidth(2); // a thicker histogram line
gStyle->SetFrameFillColor(10); // a different frame colour
gStyle->SetTitleFillColor(33); // title colour to highlight it
gStyle->SetTitleW(.76); // Title Width
gStyle->SetTitleH(.07); // Title height
gStyle->SetHistMinimumZero(true); // Suppresses Histogram Zero Supression
}