I am creating a GUI that processes some data and plots the data on a figure. The little plot window in my GUI is nice, but I'd like to be able to give the user the option to copy the figure to an external figure window, so that they can then do things like saving the figure as a JPG or something like that. That way I don't have to incorporate all these things into my GUI.
I know that I can create a new figure by using the command:
figure;
but how do I get everything off my old figure onto the new one?
I know that I can create a new figure by using the command:
figure;
but how do I get everything off my old figure onto the new one?