Dear all,
I would like to have a canvas divided into 2 as described in the code,
- subdivide further the first half into four equal parts
- maintain the size of the second half
int createSomething() {
//canvas creation
Double_t w = 2000;
Double_t h = 2000;
TCanvas *c1 = new TCanvas("c","c1",w,h);
c->SetWindowSize( w+(w-c->GetWw()), h+(h-c->GetWh()) );
c->Divide(2,1);
c->cd(1);
//divide it to four equal parts 2x2, how does one do it??
c->cd(2);
//maintain this
return 0;
}
Thanks!