Spreadfigures.m
% position and resize figures over your entire screen to make analyzing data easier.
%
% if no input is given to the function: spread all plotted figures over the screen and link all x-axes
%
% optional arguments:
% Spreadfigures('tight','nolink',[fighandle1;fighandle2])
% * 'tight': remove unnecessary whitespace in borders, makes use of other file-exchange submission
% * 'nolink': don't link x-axes
% * '[fighandle1;fighandle2] (function UseFig https://github.com/goosst/matlabfunctions/ can be useful for this)
%
% Example:
% f1=figure(1)
% plot([0:10])
% xlabel('time(s)','Fontsize',15)
% ylabel('unit 1','Fontsize',15)
% title('test','Fontsize',16)
% grid on
%
% f2=figure(2)
% plot([0:2:20])
% xlabel('time(s)','Fontsize',15)
% ylabel('unit 2','Fontsize',15)
% title('test2','Fontsize',16)
% grid on
%
% % test out several options:
% % Spreadfigures
% % Spreadfigures('tight',[f1;f2])
% % %Spreadfigures([f1;f2],'nolink','tight')
Citation pour cette source
stijn (2024). Spreadfigures (https://github.com/goosst/helperfunctions), GitHub. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : tightfig(hfig)
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.
tightfit
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |
|