www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mvgraph2d/delete.m
function delete(gr) %DELETE Delete function for mvgraph2d object. % DELETE(GR) deletes the graph object GR. This will remove all graphical % objects that are part of the object and hence make GR unusable. % Copyright 2000-2013 The MathWorks, Inc. and Ford Global Technologies, Inc. if isgraphics(gr.panel) delete(gr.panel); end