TStyle stuff

mvl@nikhef.nl
Tue, 11 May 1999 18:02:29 +0200


Hello rooters,

When trying to get the output in the way I want to, I stumbled across the
following:

1) Does anyone know the purpose of TStyle.SetDrawBorder? I thought that
setting this to zero would make the annoying border (which appears only on
the left and top of the graph) on graph printouts disappear. I found out
that one should use TStyle->SetCanvasBorderMode(0) instead, but now I don't
know what SetDrawBorder is good for.

2) Is there a way to get thicker lines for the tickmarks?
TStyle->SetLineWidth doesn't seem to work.

Thanks,

Marco van Leeuwen

P.S.: This is my style definition, maybe it would be a good idea to make a
style "Printable" in addition to the "Default" and "Plain" styles.

gStyle->SetOptStat(0);
gStyle->SetOptTitle(0);
gStyle->SetLabelFont(02,"x");
gStyle->SetLabelFont(02,"y");
gStyle->SetLabelSize(.05,"x");
gStyle->SetLabelSize(.05,"y");
gStyle->SetCanvasColor(kWhite);
gStyle->SetNdivisions(503,"x");
gStyle->SetNdivisions(503,"y");
gStyle->SetTitleSize(.06,"x");
gStyle->SetTitleSize(.06,"y");
gStyle->SetFrameLineWidth(2);
gStyle->SetFrameFillColor(kWhite);
gStyle->SetFrameBorderMode(0);
gStyle->SetLineWidth(2);
gStyle->SetPadLeftMargin(0.15);
gStyle->SetPadBottomMargin(0.15);
gStyle->SetPadBorderMode(0);
gStyle->SetPadColor(kWhite);
gStyle->SetDrawBorder(0);
gStyle->SetCanvasBorderMode(0);