find_subplot_inds

Calculates balanced m,n values for a subplot given a number of plots. For example, input: 24, output: [6 4]
4 Downloads
Updated 22 Jan 2020

View License

Finds the pair of divisors of an integer that are closest to each other to provide a balanced number of row and column plots for subplot.

Cite As

Sulimon Sattari (2024). find_subplot_inds (https://www.mathworks.com/matlabcentral/fileexchange/73994-find_subplot_inds), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0