How to clear data from plot in Matlab GUI
Mostra commenti meno recenti
I try clc, clf and nothing works any useful tips?
Risposta accettata
Più risposte (2)
Azzi Abdelmalek
il 14 Ago 2013
2 voti
You can use cla
5 Commenti
Jonasz
il 14 Ago 2013
Modificato: Azzi Abdelmalek
il 14 Ago 2013
Azzi Abdelmalek
il 14 Ago 2013
Is there any error message ?
Jonasz
il 14 Ago 2013
Martin Castillo Yañez
il 17 Ott 2016
same issue
Image Analyst
il 18 Ott 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
il 14 Ago 2013
Try with
clf(handles.my_axis_handle)
where my_axis_handle is the handle of the axis on your GUI.
2 Commenti
Jonasz
il 14 Ago 2013
Robert
il 9 Apr 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?
Categorie
Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!