Clear image in GUI?
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
Is there another way to clear image in axes beside using the following code?
cla(handles.im1,'reset')
If i use this, it even clears the ButtonDownFcn of my axes.
Thanks
0 件のコメント
採用された回答
その他の回答 (2 件)
Paulo Silva
2011 年 7 月 10 日
Just delete the children of the current axes
delete(get(gca,'Children'))
The buttondownfcn of the axes remains unchanged
4 件のコメント
norfaizayu
2012 年 1 月 30 日
i cannot run the source code. is it just put the coding?i have 3 axes to be clear in gui. so how can i clear it?
1 件のコメント
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!