Repeatedly adding subplots to new figure via GUIDE
Show older comments
Hello,
I have created a GUI in GUIDE that plots a large amount of data on an axes within the GUI. What I would like to do is essentially use that axes as a preview axes, if that makes sense, and once it is deemed satisfactory by the user, it can be copied to a different figure outside of the GUI into its own subplot. I would like to be able to do this several times, such that I basically add new subplots to the other figure as I approve of the preview axes in the GUI. I have a pushbutton in the GUI called 'copyButton' with the idea that I can press this button, and my GUI axes and accompanying graph will be copied into a new subplot within the other figure, while also preserving any previously added subplots.
As I've mentioned, there is a tremendous amount of data, all stored in various multi-tiered structs within the GUI handles, so I'd like to avoid re-executing the plot command if possible. I think my key roadblock right now is just how one would copy the GUI plot over to the other figure into its own subplot without clearing the other subplots.
If anyone could provide any additional help, I'd be very appreciative. Let me know if there is any additional detail needed.
Thanks!
Accepted Answer
More Answers (0)
Categories
Find more on Subplots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
