How to clear data from plot in Matlab GUI
古いコメントを表示
I try clc, clf and nothing works any useful tips?
採用された回答
その他の回答 (2 件)
Azzi Abdelmalek
2013 年 8 月 14 日
2 投票
You can use cla
5 件のコメント
Jonasz
2013 年 8 月 14 日
編集済み: Azzi Abdelmalek
2013 年 8 月 14 日
Azzi Abdelmalek
2013 年 8 月 14 日
Is there any error message ?
Jonasz
2013 年 8 月 14 日
Martin Castillo Yañez
2016 年 10 月 17 日
same issue
Image Analyst
2016 年 10 月 18 日
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
2013 年 8 月 14 日
Try with
clf(handles.my_axis_handle)
where my_axis_handle is the handle of the axis on your GUI.
2 件のコメント
Jonasz
2013 年 8 月 14 日
Robert
2016 年 4 月 9 日
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?
カテゴリ
ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!