This function allows the user to easily exert finer control over the spacing between subplot panels. The function returns handles to subplots with the specified spacing.
The user can specify the number of subplot rows and columns, as well as the proportions of the figure to use as a border (around the outer edge of the figure), between subplot rows, and between subplot columns (each can be adjusted independently).
Inspired: 2d and 3d brain plots
Create scripts with code, output, and formatted text in a single executable document.