subplace
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 (2024). subplace (https://www.mathworks.com/matlabcentral/fileexchange/30646-subplace), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Combine Multiple Plots > Subplots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |