Re: [ROOT] (no subject)

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Apr 29 2002 - 16:43:08 MEST


Hi Benoit,

You can change the default position/size for the title box with:
  gStyle->SetTitleX,Y,W,H

You can also modify the position/size of an existing title box with

 TPaveText *title = (TPaveText*)gPad->GetPrimitive("title");
 title->SetX1NDC,Y1NDC,X2NDC,Y2NDC;

example
  title->SetX2NDC(0.6);
  title->SetY1NDC(0.92);


Rene Brun

FORESTIER Benoit wrote:
> 
> Hi,
> when i draw an histo, the size of the
> title's TPaveText is set by default.
> is there a way to get the address to
> this object to resize it?
> 
> benoit



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