scaleSubplot(fig, varargin)

Improve the look of a figure with a series of subplots


Updated 15 Feb 2015

View License

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 (2023). scaleSubplot(fig, varargin) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Now it also work with figures that contain labels.

image edited

change name of the file (from organizeSubplot to scaleSubplot)