How to reduce the borders around subplots in matlab AND subaxis doesn't work
问题 I've written a GUI that gives a matlab subplot of varying size and I'm looking for a generic way to squeeze the subplots together. Subaxis works for the vertical spacing, but it doesn't affect the horizontal spacing. What's the simplest way to squeeze them together? An example of one of the output figures it was produced with the following code in a for loop subaxis (1+ceil(max(zindex)/5),5,5+i, 'Padding', 0, 'Margin', 0,'SpacingHoriz',0.0001,'SpacingVert',0.009); 回答1: It looks like your