subplace

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

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/30646-subplace), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0