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