The spacing between subplots takes up a lot of space, which I would like to use to show my results. I wrote subplotSpacing.m to shrink the spacing between subplots, and thus increase the relative area occupied by the figures. subplotSpacing.m can also be used expand the spacing between subplots. It just depends on the value of the 'space' input.
This doesn't work if you combine subplots - line 18 in the code catches it as an error. For example:
Error using subplotSpacing (line 18)
dimensions of subplot do not match number of elements of h
I tried using it for a several figures with different number of rows an columns and it keeps making them even smaller and dragging them to the left bottom corner. I don't know if it's my matlab version (v. 7, yr 2004) or sth else.