Re: [ROOT] TCanvas strange behaviour

From: Henrique de M. J. Barbosa - mestrado (hbarbosa@ifi.unicamp.br)
Date: Wed Mar 27 2002 - 15:07:17 MET


> > But then I have no access to the pads:
> >
> > 	t2_1->cd();  // or
> > 	c1_1->cd();
>
> WRONG! You have named your canvas "name". You must be consistent. Your
> pads will be named "name_1", "name_2". Note that (as explained in the doc)
> it is more convenient to do:
>     t2->cd(1);
>     t2->cd(2);
>

... as usual, it was my fault :)  When I read on the tutorials
that the "sub" canvas were named after the "father" canvas I thought it
was the variable name and not the canvas name. sorry

thanks a lot,

henrique barbosa
****************************************
State University at Campinas - BRASIL
"Gleb Wathagin" Physics Institute
Department of Cosmic Rays and Chronology

Henrique Barbosa      The Pierre Auger
PhD Student             Observatory
****************************************



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:47 MET