Re: [ROOT] Date in canvas

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Oct 08 2004 - 10:05:13 MEST


Carlos,

The problem with the date not appearing in the ps file has been fixed by Olivier
a few weeks ago. Use version 4.01/02.

Rene brun

Carlos Muņoz Camacho wrote:
> 
> Thanks, looks ok at the screen now , but it is not printed in a ps file.
> Why is that ?
> 
> Carlos
> 
> On Fri, 8 Oct 2004, Rene Brun wrote:
> 
> >Hi Carlos,
> >
> >See a simple way to bypass the problem below by creating an intermediate pad.
> >
> >void showdate() {
> >   gStyle->SetOptDate();
> >   TCanvas *c1 = new TCanvas("c1");
> >   TPad *pad1 = new TPad("pad1","pad1",0,0.03,1,1);
> >   pad1->Draw();
> >   pad1->Divide(2,2);
> >   pad1->cd(1);
> >}
> >
> >
> >Rene Brun
> >
> >Carlos Muņoz Camacho wrote:
> >>
> >> Hello,
> >>
> >>    I'm trying to print the date in a canvas (and in the ps file then
> >> created from it). When the canvas is divided in pads via TCanvas::Divide,
> >> the date is printed behind the pads and it's not visible. Is there an easy
> >> workaround ? (can we print it in one or all the pads?)
> >>
> >> Thanks !
> >>
> >> Carlos



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET