Is there a way to combine multiple figures of different runs of m file?
2 views (last 30 days)
Show older comments
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.
0 Comments
Answers (2)
Walter Roberson
on 18 Jun 2015
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
0 Comments
See Also
Categories
Find more on Printing and Saving in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!