How can I get new plot on the same axes when the user put the new input and presses push button?
Mostrar comentarios más antiguos
Hello, I am developing a gui in which I have given the push button and some inputs. After pressing push button plot will generate on the axes of the gui but the problem is occurring in the next step when I will again put the new value in the input then the plot is being overwrite by the old plot. How can I remove the old plot after putting the new inputs?
Thanks
4 comentarios
Niels
el 24 de En. de 2017
in my opinion your question is very confusing, maybe add the code and explain more precisely what should happen if this or that
VISHWAS CHAVAN
el 24 de En. de 2017
Editada: Adam
el 24 de En. de 2017
Adam
el 24 de En. de 2017
If you want to clear all existing plots when you next press the button you need to put
hold( handles.plotAxes, 'off' )
at the start. Or
cla( handles.plotAxes )
VISHWAS CHAVAN
el 24 de En. de 2017
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Line Plots en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!