How to clear data from plot in Matlab GUI
显示 更早的评论
采纳的回答
更多回答(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.
类别
在 帮助中心 和 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!