Re: [ROOT] TPaveLabel

From: Urs Langenegger (ursl@SLAC.stanford.edu)
Date: Wed May 03 2000 - 22:22:39 MEST


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

I don't have 2.23/11 installed anymore, but for 

  2.23/09
  2.23/12
  2.24/02

I don't get any error message at all when running both macros.

Cheers,
--U.


 > > {
 > > 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();
 > > }
 > > 


 > > {
 > > 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();
 > > }
 > > 



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