Re: thick markers and non scaling fonts

Rene Brun (Rene.Brun@cern.ch)
Fri, 05 Feb 1999 16:46:46 +0000


Arnold Schilham wrote:
>
> Hi,
>
> I was wondering, is there a way to increase the thickness of the markers?
> For example, I would like to use open circles as markers, but drawn with
> linewidth = 2.
>
> Also, when a canvas is divided in two not equal sized parts, is it possible
> to keep the used font sizes and distances between axes and labels in both
> canvases the same?
>

Hi Arnold,
No, there is no way no apply the line width to the marker.
For circles or like, I can suggest a dirty trick. Make two or more
passes
with clones of your graph object. Each object having slightly different
marker sizes. Example
TGraph *gr1 = new TGraph(....
gr1->SetMarkerStyle(4);
Float_t msize = 1.5;
gr1->SetMarkerSize(msize);
gr1->Draw("alp");
TGraph *gr2 = (TGraph*)gr1->Clone();
gr2->SetMarkerSize(0.9*msize);
gr2->Draw("p");

Rene Brun