How to move an object from one plot to another inside a GUI using GUIDE
Mostrar comentarios más antiguos
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 comentarios
Jan
el 21 de Mzo. de 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
el 21 de Mzo. de 2013
Sven
el 21 de Mzo. de 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
el 21 de Mzo. de 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
el 25 de Mzo. de 2013
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!