Re: dividing canvas

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 9 May 2006 21:21:15 +0200 (MEST)


See example below

Rene Brun

{

    TCanvas *c1 = new TCanvas("c1","c1",800,600);     c1->Divide(2,3);
    TPad *pad6 = (TPad*)c1->cd(6);
    pad6->Divide(2,4);
}

On Wed, 10 May 2006, 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
> --
> *****************************************************************************************
> Affection is much more higher then heaven for me... So trust me I will
> always with you...
> **********************************************************************************************
>
Received on Tue May 09 2006 - 21:21:20 MEST

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