void rootlogon () { cout << " ~/.rootrcdir/rootlogon.C is executing.\n"; gROOT->SetStyle("Plain"); // Switches off the ROOT default style //gPad->UseCurrentStyle(); // this makes everything black and white, // removing the default red border on images gROOT->ForceStyle(); // forces the style chosen above to be used, // not the style the rootfile was made with gStyle->SetOptStat(0); // no statistics // gStyle->SetOptStat(0); //no statistics _or_ //gStyle->SetOptStat(11111111); // -->all statistics (the more 1's you put,the more statistics you get) // gStyle->SetOptLogy(); //log. scale gStyle->SetOptTitle(0); //no title //gStyle->SetPalette(1); // Better color palette // Colours can be accessed by numbers (like in PAW) or with names: // enum EColor { kWhite, kBlack, kRed, kGreen, kBlue, kYellow, // kMagenta, kCyan }; gStyle->SetCanvasColor(kWhite); // background is no longer mouse-dropping //white gStyle->SetPalette(1,0); // blue to red false color palette. Use 9 //for b/w //gStyle->SetFillColor(0); //white fill color gStyle->SetFrameBorderMode(0); //no frame border gStyle->SetCanvasBorderMode(0); //no canvas border gStyle->SetPadBorderMode(0); gStyle->SetPaintTextFormat("5.2f"); // What precision to put numbers if //plotted with "TEXT" gStyle->SetMarkerStyle(20); gStyle->SetTitleSize(0.05,"xy"); // For publishing: //gStyle->SetTextSize(1.1); //gStyle->SetLabelSize(0.06,"xy"); //gStyle->SetTitleSize(0.06,"xy"); //gStyle->SetTitleOffset(1.2,"x"); //gStyle->SetTitleOffset(1.0,"y"); //gStyle->SetPadTopMargin(0.1); //gStyle->SetPadRightMargin(0.1); //gStyle->SetPadBottomMargin(0.16); //gStyle->SetPadLeftMargin(0.12); }