Is there a way to combine multiple figures of different runs of m file?

2 次查看(过去 30 天)
I have m file,in each run I get 4 figures,I'm looking for combining the figure 1 from the first run with the first figure from the second run and so on.

回答(2 个)

Azzi Abdelmalek
Azzi Abdelmalek 2015-6-18
You can use subplot

Walter Roberson
Walter Roberson 2015-6-18
If you have .fig files from using saveas() on a figure, then you can open the .fig, get() its graphics children, copyobj() them to a new figure, and possibly set() new position information; you can do this with multiple .fig files and the result would be one figure containing all of the contents. As there might be multiple axes you probably would not want to use subplot() -- but you might want to create uipanel() for each of them and then set() the position of each of the uipanel

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by