scaleSubplot(fig, varargin)
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 (2024). scaleSubplot(fig, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/49270-scalesubplot-fig-varargin), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Combine Multiple Plots > Subplots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.