Compare Two Figures side by side

版本 1.0.0.1 (1.6 KB) 作者: Michael Katz
Takes the content of a two figures and puts them next to each other in one figure window.
1.9K 次下载
更新时间 2016/9/1

查看许可证

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.

引用格式

Michael Katz (2024). Compare Two Figures side by side (https://www.mathworks.com/matlabcentral/fileexchange/21998-compare-two-figures-side-by-side), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Subplots 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.1

Updated license

1.0.0.0