tight_subplot(Nh, Nw, gap, marg_h, marg_w)

Fills the figure with axes subplots with easily adjustable margins and gaps between the axes.

Download
Download

You are now following this Submission

Editor's Note: Popular File 2019

This file was selected as MATLAB Central Pick of the Week

Cite As

Pekka Kumpulainen (2026). tight_subplot(Nh, Nw, gap, marg_h, marg_w) (https://www.mathworks.com/matlabcentral/fileexchange/27991-tight_subplot-nh-nw-gap-marg_h-marg_w), 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.1.0

Positions of the created axes objects are returned. Allowing to reset the positions after some standard functions, which reposition existing axxes (eg. colorbar)

Download
1.0.0

Download