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.
Citation pour cette source
Valerio Biscione (2024). scaleSubplot(fig, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/49270-scalesubplot-fig-varargin), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- 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!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
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 |