matlab GUI使用subplot画图后如何清空坐标轴


matlab GUI使用subplot画图后如何清空坐标轴:

假设有四个子坐标,分别为h1,h2,h3,h4

h = 0;
if ishandle(h1)
    delete(h1);
    h = 1;
end
if ishandle(h2)
    delete(h2);
    h = 1;
end
if ishandle(h3)
    delete(h3);
    h = 1;
end
if ishandle(h4)
    delete(h4);
    h1 = 1;
end
if h
    axes('parent',handles.uipanel1)  %重建一个axes
end

  


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM