Re: [ROOT] Labels

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Oct 25 2002 - 09:01:30 MEST


Hi Matthew,

Use TPaveText, a special TPaveLabel with multiple lines.
See examples in the tutorials fildir.C, tree.C, ntuple1.C, cernstaff.C,
etc

Rene Brun

On Thu, 24 Oct 2002, matthew dunseth wood wrote:

> Hi.  This will seem like a very silly question to all of you but I haven't
> found a solution in any of the online ROOT materials.  When I create a
> label using:
> 
> label = new TPaveLabel(0.1,0.94,0.9,0.98,"Text");
> 
> How does one create multiple lines of text within the same label?  I tried
> the following without success:
> 
> label = new TPaveLabel(0.1,0.94,0.9,0.98,"Text \n Text")
> 
> Thanks for your help.
> 
> Matthew Wood
> 



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