subplace
Version 1.0.0.0 (1.91 KB) by
James Slegers
SUBPLACE Computes 'Position' vectors for a center-aligned set of subplots of varying row lengths
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 LinuxCategories
Find more on Subplots in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
