Compare Two Figures side by side
Version 1.0.0.1 (1,58 KB) von
Michael Katz
Takes the content of a two figures and puts them next to each other in one figure window.
This should copy a figure window and all the objects in it to the first one and resized to fit both.
Example:
figure(1)
plot(rand(5))
figure(2)
surf(peaks)
compareFigures(1,2)
This is a little cleaner than managing two figure windows, but it may not be best thing to do if you want to do further processing on either figure.
I'd expect issues if you're using two different colormaps.
Zitieren als
Michael Katz (2026). Compare Two Figures side by side (https://de.mathworks.com/matlabcentral/fileexchange/21998-compare-two-figures-side-by-side), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2008b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Subplots finden Sie in Help Center und MATLAB Answers
Tags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.1 | Updated license |
||
| 1.0.0.0 |
