How to clear data from plot in Matlab GUI
Ältere Kommentare anzeigen
I try clc, clf and nothing works any useful tips?
Akzeptierte Antwort
Weitere Antworten (2)
Azzi Abdelmalek
am 14 Aug. 2013
2 Stimmen
You can use cla
5 Kommentare
Jonasz
am 14 Aug. 2013
Bearbeitet: Azzi Abdelmalek
am 14 Aug. 2013
Azzi Abdelmalek
am 14 Aug. 2013
Is there any error message ?
Jonasz
am 14 Aug. 2013
Martin Castillo Yañez
am 17 Okt. 2016
same issue
Image Analyst
am 18 Okt. 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
am 14 Aug. 2013
Try with
clf(handles.my_axis_handle)
where my_axis_handle is the handle of the axis on your GUI.
2 Kommentare
Jonasz
am 14 Aug. 2013
Robert
am 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?
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!