subplace

SUBPLACE Computes 'Position' vectors for a center-aligned set of subplots of varying row lengths
481 Downloads
Updated 4 Mar 2011

View License

SUBPLACE Computes 'Position' vectors for a center-aligned set of subplots of varying row lengths

subplace(R), R is a vector specifying the number of subplots in each row

subplace([3 2]) - returns a 5x4 vector with the position vectors of 5 plots in rows of 3 and 2.

subplace([3 2],1) - returns a 1x4 position vector for subplot #1. That is, the position vector of the first subplot in the top row.

subplace([3 2],[1 2]) - returns a 2x4 array with the position vectors for subplots 1 & 2.

Cite As

James Slegers (2026). subplace (https://uk.mathworks.com/matlabcentral/fileexchange/30646-subplace), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0