File Exchange

image thumbnail

scaleSubplot(fig, varargin)

version (2.89 KB) by Valerio Biscione
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.

Comments and Ratings (0)


Now it also work with figures that contain labels.

image edited

change name of the file (from organizeSubplot to scaleSubplot)

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

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video