Re: [ROOT] TPaveLabel

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed May 03 2000 - 21:31:34 MEST


Hi Mat,
I cannot reproduce this problem with either 2.23/12 or 2.24.
I do not see any changes in TPabeLabel between 2.23/11 and 2.23/12.

Could I get a confirmation from other users that this simple macro
below works if they use 2.23/11 ?

Note that the official release was 2.23/12 and not 2.23/11.

Rene Brun


On Wed, 3 May 2000, Matthew Martin wrote:

> Hi,
> 
> in 2.23/11 when I do:
> 
> 
> {
> TH1F *histTest = new TH1F("histTest","Pt dist for all tracks",300,0,4);
> TPaveLabel *myLabel = new TPaveLabel(0.4,0.65,0.7,0.85,"..","NDC");
> TCanvas *c5 = new TCanvas("c5","Pion mass check",10,10,500,500);
> c5->cd(1);
> myLabel->Draw();
> }
> 
> 
> it works
> 
> 
> but
> 
> 
> 
> {
> TH1F *histTest = new TH1F("histTest","Pt dist for all tracks",300,0,4);
> TPaveLabel *myLabel = new TPaveLabel(0.4,0.65,0.7,0.85,"BOO","NDC");
> TCanvas *c5 = new TCanvas("c5","Pion mass check",10,10,500,500);
> c5->cd(1);
> myLabel->Draw();
> }
> 
> 
> 
> produces:
> 
> root [1] Error in <RootX11ErrorHandler>: BadValue (integer parameter out
> of range for operation) (XID: 15132390)
> 
> 
> cheers
> 
> Mat
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:24 MET