How to clear data from plot in Matlab GUI
Mostrar comentarios más antiguos
I try clc, clf and nothing works any useful tips?
Respuesta aceptada
Más respuestas (2)
Azzi Abdelmalek
el 14 de Ag. de 2013
2 votos
You can use cla
5 comentarios
Jonasz
el 14 de Ag. de 2013
Editada: Azzi Abdelmalek
el 14 de Ag. de 2013
Azzi Abdelmalek
el 14 de Ag. de 2013
Is there any error message ?
Jonasz
el 14 de Ag. de 2013
Martin Castillo Yañez
el 17 de Oct. de 2016
same issue
Image Analyst
el 18 de Oct. de 2016
If you tried my answer of using
cla reset;
and that did not wipe the axes totally clean, down to a white rectangle with axes in the 0-1 range, then call the Mathworks because your cla function is corrupted. Or you've overwritten it with your own function called cla.
David Sanchez
el 14 de Ag. de 2013
Try with
clf(handles.my_axis_handle)
where my_axis_handle is the handle of the axis on your GUI.
2 comentarios
Jonasz
el 14 de Ag. de 2013
Robert
el 9 de Abr. de 2016
This is exactly what happened to me. When i used this line it cleared everything except what i wanted it to clear. When i type in the handle of the axes i want to clear that is the only one it left alone and cleared the rest of the guy. Any ideas?
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects 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!