Please use "help Sub_Fig_Divider" and "help Example_File" to know how to use this code in separating the subplots.
Akshay Kumar (2020). Subplots Divided into Full Figures (https://www.mathworks.com/matlabcentral/fileexchange/68443-subplots-divided-into-full-figures), MATLAB Central File Exchange. Retrieved .
Hm, I'm trying to separate 16 histograms. For histograms 1-15 this tool works well (starting the numbering at fig. 3). For histogram 16, there is no figure apprearing though, except messed up as part of figure 2.
Upon closer inspection, the problem is with line 23
"Array indices must be positive integers or logical values." for ii=1, the index becomes zero, and it messes up . Also transforming it to logical zero(false) creates problems further down the road
my version is 2019a
Very helpful. Thank you
add to last comment: change being that the current version does not work when there are multiple figures open. Fixed that, but can't seem to find a pull request button anywhere.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!