Extend the functionality of TPad::Divide when xmargin=0 and ymargin=0. In this case the pad is divided with no space between the subpads. The size of each useful frame inside each pad is identical. eg, try the following script: void divpad(Int_t nx=3, Int_t ny=2) {    TCanvas *c1 = new TCanvas("c1");    c1->Divide(nx,ny,0,0);    Int_t number = 0;    TH1F *h = new TH1F("h","h",100,-3.3,3.3);    h->GetXaxis()->SetLabelFont(53);    h->GetXaxis()->SetLabelSize(10);    h->GetYaxis()->SetLabelFont(53);    h->GetYaxis()->SetLabelSize(10);    h->SetMaximum(30*nx*ny);    h->SetFillColor(42);    for (Int_t i=0;i<nx*ny;i++) {       number++;       c1->cd(number);       h->FillRandom("gaus",1000);       h->DrawCopy();    } }
Extend the functionality of TPad::Divide when xmargin=0 and ymargin=0.
In this case the pad is divided with no space between the subpads.
The size of each useful frame inside each pad is identical.
eg, try the following script:
void divpad(Int_t nx=3, Int_t ny=2) {
   TCanvas *c1 = new TCanvas("c1");
   c1->Divide(nx,ny,0,0);
   Int_t number = 0;
   TH1F *h = new TH1F("h","h",100,-3.3,3.3);
   h->GetXaxis()->SetLabelFont(53);
   h->GetXaxis()->SetLabelSize(10);
   h->GetYaxis()->SetLabelFont(53);
   h->GetYaxis()->SetLabelSize(10);
   h->SetMaximum(30*nx*ny);
   h->SetFillColor(42);
   for (Int_t i=0;i<nx*ny;i++) {
      number++;
      c1->cd(number);
      h->FillRandom("gaus",1000);
      h->DrawCopy();
   }
}


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@10417 27541ba8-7e3a-0410-8455-c3a389f83636

mhuwiler/rootauto,gganis/root,zzxuanyuan/root-compressor-dummy,omazapa/root-old,thomaskeck/root,arch1tect0r/root,CristinaCristescu/root,mattkretz/root,beniz/root,root-mirror/root,sirinath/root,smarinac/root,dfunke/root,omazapa/root-old,gbitzes/root,sbinet/cxx-root,mhuwiler/rootauto,arch1tect0r/root,sawenzel/root,zzxuanyuan/root-compressor-dummy,georgtroska/root,olifre/root,vukasinmilosevic/root,buuck/root,mhuwiler/rootauto,sawenzel/root,sbinet/cxx-root,beniz/root,BerserkerTroll/root,esakellari/root,alexschlueter/cern-root,cxx-hep/root-cern,davidlt/root,zzxuanyuan/root,jrtomps/root,krafczyk/root,smarinac/root,Duraznos/root,cxx-hep/root-cern,Y--/root,nilqed/root,nilqed/root,karies/root,mhuwiler/rootauto,kirbyherm/root-r-tools,satyarth934/root,gganis/root,sawenzel/root,sbinet/cxx-root,jrtomps/root,evgeny-boger/root,zzxuanyuan/root-compressor-dummy,thomaskeck/root,dfunke/root,omazapa/root-old,alexschlueter/cern-root,veprbl/root,Y--/root,zzxuanyuan/root,perovic/root,beniz/root,thomaskeck/root,georgtroska/root,davidlt/root,zzxuanyuan/root-compressor-dummy,ffurano/root5,Dr15Jones/root,sawenzel/root,strykejern/TTreeReader,simonpf/root,veprbl/root,root-mirror/root,Dr15Jones/root,gbitzes/root,tc3t/qoot,krafczyk/root,sbinet/cxx-root,zzxuanyuan/root-compressor-dummy,0x0all/ROOT,Y--/root,georgtroska/root,agarciamontoro/root,omazapa/root-old,karies/root,0x0all/ROOT,arch1tect0r/root,mhuwiler/rootauto,vukasinmilosevic/root,simonpf/root,alexschlueter/cern-root,davidlt/root,pspe/root,cxx-hep/root-cern,arch1tect0r/root,davidlt/root,olifre/root,tc3t/qoot,buuck/root,perovic/root,georgtroska/root,pspe/root,perovic/root,abhinavmoudgil95/root,abhinavmoudgil95/root,simonpf/root,esakellari/my_root_for_test,jrtomps/root,agarciamontoro/root,strykejern/TTreeReader,gganis/root,dfunke/root,mkret2/root,zzxuanyuan/root,pspe/root,ffurano/root5,omazapa/root,zzxuanyuan/root,kirbyherm/root-r-tools,simonpf/root,lgiommi/root,beniz/root,mkret2/root,root-mirror/root,esakellari/root,evgeny-boger/root,smarinac/root,olifre/root,veprbl/root,omazapa/root,esakellari/root,satyarth934/root,root-mirror/root,BerserkerTroll/root,arch1tect0r/root,ffurano/root5,gbitzes/root,karies/root,abhinavmoudgil95/root,simonpf/root,perovic/root,georgtroska/root,gganis/root,root-mirror/root,Dr15Jones/root,simonpf/root,omazapa/root,karies/root,root-mirror/root,sirinath/root,krafczyk/root,kirbyherm/root-r-tools,gbitzes/root,bbockelm/root,esakellari/root,tc3t/qoot,zzxuanyuan/root-compressor-dummy,veprbl/root,Y--/root,zzxuanyuan/root,nilqed/root,Duraznos/root,thomaskeck/root,esakellari/root,sawenzel/root,sirinath/root,jrtomps/root,evgeny-boger/root,zzxuanyuan/root-compressor-dummy,omazapa/root,nilqed/root,lgiommi/root,davidlt/root,agarciamontoro/root,cxx-hep/root-cern,strykejern/TTreeReader,nilqed/root,Duraznos/root,evgeny-boger/root,gganis/root,thomaskeck/root,tc3t/qoot,omazapa/root-old,abhinavmoudgil95/root,smarinac/root,arch1tect0r/root,krafczyk/root,mattkretz/root,gbitzes/root,agarciamontoro/root,georgtroska/root,olifre/root,zzxuanyuan/root,mhuwiler/rootauto,mkret2/root,mhuwiler/rootauto,zzxuanyuan/root-compressor-dummy,krafczyk/root,Y--/root,olifre/root,cxx-hep/root-cern,omazapa/root,nilqed/root,zzxuanyuan/root,thomaskeck/root,olifre/root,dfunke/root,omazapa/root-old,vukasinmilosevic/root,jrtomps/root,zzxuanyuan/root,kirbyherm/root-r-tools,mattkretz/root,satyarth934/root,CristinaCristescu/root,smarinac/root,sirinath/root,agarciamontoro/root,CristinaCristescu/root,gganis/root,thomaskeck/root,mhuwiler/rootauto,perovic/root,mkret2/root,gganis/root,CristinaCristescu/root,nilqed/root,sirinath/root,satyarth934/root,sbinet/cxx-root,tc3t/qoot,omazapa/root,karies/root,lgiommi/root,sirinath/root,lgiommi/root,CristinaCristescu/root,jrtomps/root,pspe/root,beniz/root,jrtomps/root,sirinath/root,0x0all/ROOT,BerserkerTroll/root,sirinath/root,agarciamontoro/root,sbinet/cxx-root,karies/root,omazapa/root-old,tc3t/qoot,perovic/root,perovic/root,Y--/root,abhinavmoudgil95/root,buuck/root,mkret2/root,satyarth934/root,simonpf/root,mattkretz/root,veprbl/root,arch1tect0r/root,ffurano/root5,buuck/root,lgiommi/root,olifre/root,CristinaCristescu/root,arch1tect0r/root,Duraznos/root,alexschlueter/cern-root,Duraznos/root,esakellari/root,alexschlueter/cern-root,pspe/root,beniz/root,BerserkerTroll/root,Dr15Jones/root,evgeny-boger/root,cxx-hep/root-cern,lgiommi/root,tc3t/qoot,mattkretz/root,smarinac/root,simonpf/root,bbockelm/root,esakellari/my_root_for_test,davidlt/root,mkret2/root,smarinac/root,sbinet/cxx-root,mkret2/root,dfunke/root,sawenzel/root,root-mirror/root,zzxuanyuan/root-compressor-dummy,satyarth934/root,esakellari/root,zzxuanyuan/root-compressor-dummy,Duraznos/root,simonpf/root,thomaskeck/root,tc3t/qoot,nilqed/root,ffurano/root5,kirbyherm/root-r-tools,cxx-hep/root-cern,agarciamontoro/root,gganis/root,bbockelm/root,gbitzes/root,bbockelm/root,0x0all/ROOT,mhuwiler/rootauto,BerserkerTroll/root,olifre/root,mattkretz/root,evgeny-boger/root,ffurano/root5,georgtroska/root,beniz/root,satyarth934/root,lgiommi/root,evgeny-boger/root,0x0all/ROOT,lgiommi/root,CristinaCristescu/root,davidlt/root,sawenzel/root,cxx-hep/root-cern,gganis/root,gganis/root,buuck/root,BerserkerTroll/root,tc3t/qoot,zzxuanyuan/root-compressor-dummy,CristinaCristescu/root,esakellari/my_root_for_test,dfunke/root,vukasinmilosevic/root,jrtomps/root,jrtomps/root,omazapa/root,mattkretz/root,olifre/root,bbockelm/root,arch1tect0r/root,BerserkerTroll/root,omazapa/root-old,buuck/root,Y--/root,evgeny-boger/root,Duraznos/root,abhinavmoudgil95/root,dfunke/root,gbitzes/root,satyarth934/root,tc3t/qoot,buuck/root,jrtomps/root,Dr15Jones/root,root-mirror/root,buuck/root,smarinac/root,bbockelm/root,esakellari/my_root_for_test,davidlt/root,satyarth934/root,beniz/root,mattkretz/root,sawenzel/root,root-mirror/root,mhuwiler/rootauto,lgiommi/root,abhinavmoudgil95/root,0x0all/ROOT,krafczyk/root,sbinet/cxx-root,BerserkerTroll/root,olifre/root,satyarth934/root,strykejern/TTreeReader,mkret2/root,bbockelm/root,sirinath/root,esakellari/root,zzxuanyuan/root,veprbl/root,root-mirror/root,smarinac/root,dfunke/root,Dr15Jones/root,vukasinmilosevic/root,sawenzel/root,strykejern/TTreeReader,agarciamontoro/root,nilqed/root,veprbl/root,esakellari/root,mkret2/root,abhinavmoudgil95/root,sbinet/cxx-root,sbinet/cxx-root,BerserkerTroll/root,karies/root,Y--/root,sawenzel/root,nilqed/root,agarciamontoro/root,beniz/root,Dr15Jones/root,evgeny-boger/root,sawenzel/root,karies/root,gganis/root,esakellari/my_root_for_test,georgtroska/root,vukasinmilosevic/root,beniz/root,smarinac/root,pspe/root,perovic/root,agarciamontoro/root,perovic/root,buuck/root,simonpf/root,gbitzes/root,omazapa/root,0x0all/ROOT,nilqed/root,pspe/root,agarciamontoro/root,gbitzes/root,davidlt/root,veprbl/root,vukasinmilosevic/root,mkret2/root,Duraznos/root,olifre/root,esakellari/my_root_for_test,arch1tect0r/root,CristinaCristescu/root,lgiommi/root,veprbl/root,CristinaCristescu/root,perovic/root,gbitzes/root,davidlt/root,dfunke/root,krafczyk/root,omazapa/root,thomaskeck/root,zzxuanyuan/root,abhinavmoudgil95/root,vukasinmilosevic/root,georgtroska/root,Y--/root,alexschlueter/cern-root,mkret2/root,omazapa/root-old,Duraznos/root,georgtroska/root,kirbyherm/root-r-tools,mhuwiler/rootauto,perovic/root,abhinavmoudgil95/root,veprbl/root,arch1tect0r/root,dfunke/root,beniz/root,abhinavmoudgil95/root,sirinath/root,sirinath/root,Y--/root,omazapa/root-old,BerserkerTroll/root,vukasinmilosevic/root,Duraznos/root,krafczyk/root,esakellari/my_root_for_test,pspe/root,satyarth934/root,esakellari/my_root_for_test,dfunke/root,strykejern/TTreeReader,vukasinmilosevic/root,evgeny-boger/root,strykejern/TTreeReader,BerserkerTroll/root,bbockelm/root,krafczyk/root,omazapa/root-old,Y--/root,veprbl/root,CristinaCristescu/root,karies/root,pspe/root,bbockelm/root,mattkretz/root,ffurano/root5,lgiommi/root,omazapa/root,0x0all/ROOT,esakellari/root,Duraznos/root,karies/root,evgeny-boger/root,buuck/root,root-mirror/root,gbitzes/root,esakellari/root,omazapa/root,zzxuanyuan/root,mattkretz/root,mattkretz/root,georgtroska/root,buuck/root,pspe/root,alexschlueter/cern-root,jrtomps/root,bbockelm/root,krafczyk/root,davidlt/root,karies/root,esakellari/my_root_for_test,krafczyk/root,0x0all/ROOT,simonpf/root,vukasinmilosevic/root,sbinet/cxx-root,kirbyherm/root-r-tools,esakellari/my_root_for_test,zzxuanyuan/root,thomaskeck/root,pspe/root,bbockelm/root