Hi Jiri,
Thanks for reporting this interesting case happening
when drawing a histogram with no title and a TPaveText in
the same pad.
Now fixed in CVS.
Rene Brun
On Fri, 30 May
2003,
Jiri Masik wrote:
> Hi,
>
> what is wrong with the following macro that the label is not drawn?
> It looks like TPaveText object is destroyed early.
> Thanks in advance.
> cheers
>
> Jiri
>
>
>
> {
> TH1F *h1 = new TH1F("h1","",10,0.,1.);
> h1->Draw();
>
> TPaveText *drtxt = new TPaveText(0.63, 0.48, 0.85, 0.54,"brNDC");
> drtxt->AddText("a");
> drtxt->Draw();
>
> }
>
> 3.05/05 - 29 May 2003 linuxdeb2/linuxdeb2ppc
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET