How to move an object from one plot to another inside a GUI using GUIDE
Show older comments
Hi ,
I would like to move an object from one plot to another plot within the same GUI which I have created using GUIDE. Can anyone help me please.
Thanks
Vivekram
5 Comments
Jan
on 21 Mar 2013
The question is not clear. Do you want a copy, or an animation, move it with the mouse or programmatically? What is an "object" and what is a "plot" exactly? Please post more details.
Vivekram
on 21 Mar 2013
Sven
on 21 Mar 2013
Vivekram, in what way does my answer not do what you're asking?
In the example there are two plots ( axes is the correct term).
In the example you "use the mouse" (ie, click the button) to move a line from one plot to the other.
Isn't this what you're looking for?
Image Analyst
on 21 Mar 2013
Whatever you did to plot it the first time, why don't you just do it again in the other axes? You can then call cla reset on the first axes if you want.
Vivekram
on 25 Mar 2013
Accepted Answer
More Answers (0)
Categories
Find more on Interactive Control and Callbacks 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!