Thanks Bertrand, that works perfectly.
Best wishes,
Roger
Bertrand Bellenot <Bertrand.Bellenot_at_cern.ch> writes:
> Why not just using:
>
> pad = (TPad*)canv->cd(k+1);
>
> instead of:
>
> canv->cd(k+1);
> sprintf(padname,"canv_%i",k+1);
> pad = (TPad*)(canv->GetPrimitive(padname));
>
Received on Tue Nov 04 2008 - 23:55:59 CET
This archive was generated by hypermail 2.2.0 : Thu Nov 06 2008 - 05:50:04 CET