Re: dividing canvas

From: Bertrand Bellenot <bertrand.bellenot_at_cern.ch>
Date: Tue, 09 May 2006 21:25:41 +0200


Hello Satya,

Here is the code :

   TCanvas *c1 = new TCanvas("c1","xyz",5,5,1100,900);    c1->Divide(2,3);
   TVirtualPad *c1_1 = c1->cd(6);
   c1_1->Divide(4,2);

Cheers,
Bertrand.

satya j wrote:
> Dear Rooters,
>
> I am a new root user. Is there any way to sub-divide the
> canvas, that is mean to say that I have created a canvas
> with
>
> TCanvas *c1 = new TCanvas("c1","xyz",5,5,1100,900);
> c1->Divide(2,3)
>
> This divides the total canvas. But I am unable to again subdivide
> the sixth section to be divided into 8 sub-section. Can it be possible?
> Please suggest.
>
> Your suggestions are highly appreciated.
>
> Satya
Received on Tue May 09 2006 - 21:25:47 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET