www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mvgraph1d/delete.m
function delete(gr) %DELETE Delete a 1D graph object. % DELETE(GR) deletes the 1D graph object gr. The handle that you still % have will be a valid object but there will no longer be valid data or % graphical objects to use methods on. % Copyright 2000-2013 The MathWorks, Inc. and Ford Global Technologies, Inc. if isgraphics(gr.panel) delete(gr.panel); end