//I have two pads on a canvas.
TCanvas *c1=new TCanvas(“c1”,"",1000,1000);
c1->Divide(1,2);
//I set the margins to 0.
c1->cd(1);
c1->cd(1)->SetBottomMargin(0);
c1->cd(2);
c1->cd(2)->SetTopMargin(0);
//I draw a axis on each.
c1->GetPad(1)->DrawFrame(0,0,1,1);
c1->GetPad(2)->DrawFrame(0,0,1,1);
//But the top of the 2nd frame does not touch the bottom of the top frame because the pads don’t butt up against each other. This could be reduced using either fYLowNDC or fHNDC of the two pads but I can’t figure out how to change them. Is it possible, other than grabbing the pad with the mouse and dragging it?