http://www.qcustomplot.com/index.php/demos/advancedaxesdemo

i want use this demo and remove the gap between two images on second row.
how can i do that

i used
subLayout->setMargins(QMargins(0,0,0,0));
subLayout->setColumnSpacing(0);

it don't work