Re: [ROOT] Problem resizing pads

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Sep 18 2002 - 21:04:09 MEST


Hi Gary,

The default "stats" box width is 19 per cent of the pad
and the default height is 10 per cent. The height is automatically
adjusted in function of the number of parameters in the box.
In your case, you probably have a rootlogon.C file setting a 
different default value. You can set the default value via
  gStyle->SetStatW(0.12); //to set the width to 12 per cent of the pad.
In the same way , you can modify the height and the position, see TStyle.

When sending mails to roottalk, please always identify which version
of Root you are using.

Rene Brun

On Wed, 18 Sep 2002, Gary Rutledge wrote:

> 
> 
> Hello Rooters,
> 
> When I instruct my macros to execute a fit to my data, and display the 
> fit parameters it does so.  However, the pad with the fit parameters is
>  25% of my entire graph.  That is, the fit-parametr pad blocks 25% (or more)
> of the canvas.
> 
> -- How does one set or resize the fit-parameter pad, so that it takes 
> up just so much room and no more?  Specifying pad location would be nice
> too.
> 
> If I've missed this info in the manual, please specify the page number. Thanks.
> 
> 
> Cheers,
> Gary  
> -
> ---
> ---------
> Dr. Gary Rutledge
> _______________________________  ________________________________
>  Department of Physics         \/       Jefferson Lab, VA
>  University of Manitoba        /\     office:  (757) 269-7346  
>  rutledge@jlab.org             \/     pager:   (757) 584-7346
> _______________________________/\ ______________________________
>    Microsoft is not the answer.  Microsoft is the question.
>                        The answer is 'no'.
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:10 MET