scaleSubplot(fig, varargin)

Improve the look of a figure with a series of subplots

You are now following this Submission

This function will take as input a figure with subplots and will improve the look of the figure by setting the same scale to all the subplots and deleting the redundant axes labels. For example, if the subject want for all the subplot to have the same y scale, only the left most subplot will show the y tick label (see Figure)
The user can specify custom xlimit/ylimit values or let the codeorganize them.

Cite As

Valerio Biscione (2026). scaleSubplot(fig, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/49270-scalesubplot-fig-varargin), 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.3.0.0

Now it also work with figures that contain labels.

1.2.0.0

image edited

1.1.0.0

change name of the file (from organizeSubplot to scaleSubplot)

1.0.0.0