Re: thick markers and non scaling fonts

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Feb 05 1999 - 17:46:46 MET


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET