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).
Jeremy Manning (2020). getTightSubplotHandles (https://www.mathworks.com/matlabcentral/fileexchange/35435-gettightsubplothandles), MATLAB Central File Exchange. Retrieved .
Inspired: 2d and 3d brain plots