Subplots - Subplotting made easy

A wrapper for subplots() which allows declaring the subplot grid only once, and enables easily access to the grid's axes.

You are now following this Submission

A subplot handler, to be used instead of subplot(). Main features:
- Subplot grid is defined once, instead of at each axis creation.
- Option to auto-determine grid dimensions by giving only the total
number of axes.
- Active axis can be specified in several ways:
1. "Flat" index
2. Sub-index
3. Determined automatically according to axis order
- The axis handles are saved to an array for later access.

Cite As

David (2026). Subplots - Subplotting made easy (https://www.mathworks.com/matlabcentral/fileexchange/81858-subplots-subplotting-made-easy), 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