Hi, I want to change global style options and put the changes in rootlogon.C. In particular I need white pads and white canvas and black characters and graphs (no colors). Most changes are accepted, but I can not change canvas fill attribute fFillStyle. E.g. gStyle->SetCanvasColor(18) works but there is no gStyle->SetCanvasFillStyle(). So I tried gStyle->FillStyle() which does NOT change the canvas. Though change from the menu bar on the canvas or 'canvasobject'->SetFillStyle() changes the fFillStyle as expected. Is there a more convenient way to change the style to black/white ? (like gStyle->SetBlackWhiteMode() ); here my rootlogon.C // This is the file rootlogon.C { gStyle->SetCanvasColor(18); // 18 seems to be white gStyle->SetFrameFillColor(0); // what is black? gStyle->SetFrameFillStyle(0); gStyle->SetHistLineWidth(0); gStyle->SetFuncWidth(0); gStyle->SetPadColor(18); gStyle->SetFillStyle(0); gStyle->SetLineStyle(0); gStyle->SetLineColor(18); gStyle->SetTitleXOffset(0.4); gStyle->SetTitleYOffset(1.2); gStyle->SetLabelSize(0.08); gStyle->SetFrameFillColor(18); gStyle->SetFrameFillStyle(0); gStyle->SetFrameLineColor(18); gStyle->SetFrameLineStyle(0); gStyle->SetPadBorderMode(1); gStyle->SetPadBorderSize(1); gStyle->SetPadBottomMargin(0.1); gStyle->SetPadColor(18); gStyle->SetPadLeftMargin(0.1); gStyle->SetPadRightMargin(0.1); gStyle->SetPadTopMargin(0.1); } Dirk
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:31 MET