More intuitive subplot

Version 1.2.0.0 (1.44 KB) by Peter Li
Matlab's subplot is useful for throwing figures together but the indexing is very counter-intuitive.
291 Downloads
Updated 8 Nov 2011

View License

Simple wrapper for Matlab's subplot. Most arguments get passed straight through. The only difference is in how the thisPlot index is handled. Instead of being a counter-intuitive 1D index, you just use 2D indices. For example, if you want a subregion from rows 3:4 and cols 4:5, just put {3:4 4:5}. If you want a single row/col region, just do {x y} or [x y].

Cite As

Peter Li (2026). More intuitive subplot (https://au.mathworks.com/matlabcentral/fileexchange/33667-more-intuitive-subplot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.2.0.0

Small interface tweak

1.1.0.0

Fixed bug

1.0.0.0