Re: [ROOT] line widths

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Jan 11 2003 - 19:52:55 MET


Hi Claire,

You can set a general scale factor for lines when printing on Postscript.
do:
gStyle->SetLineScalePS(scale);

The default in ROOT for scale is 3. You can set it to 1 if you like.
Note that you can place the line gStyle->SetLineScalePS(1)
in your rootlogon.C file. You do not have to change the line width
in your scripts.

Rene Brun

On Sat, 11 Jan 2003, Claire Gwenlan wrote:

> Hi,
> 
> I have a pad that I'm dividing into 16 for 16 different plots.
> When I do this, I find that the line widths (both the borders and the 
> histogram lines are quite thick (even with linewidth set to 1). I have 
> noticed this before but usually get round it by creating quite a large 
> pad, so that when I insert the plot into a document I shrink it and get 
> the line width that I want. However, since I've got 16 plots I can't 
> shrink it very much since you can't then see the detail. I've noticed too 
> that once you get to a particular pad size the postscript never gets any 
> bigger, so I can't solve the problem by creating an absolutely enormous 
> canvas. The option I thought of was to set the line width smaller than 1, 
> but it doesn't recognise fractions of a line width; at least I've tried 
> (for example) 0.5 and 0.8 and in both cases you just get an extremely thin 
> line.  I have seen similar plots in paw to the one I'm trying to do, and 
> the line widths are alot thinner than I seem to be able to create in root. 
> Is there another way to choose the line widths?
> 
> Thanks very much,
> 
> Claire
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET