undoplots

PURPOSE ^

UNDOPLOTS - undo plots

SYNOPSIS ^

function undoplots(prevplot)

DESCRIPTION ^

UNDOPLOTS - undo plots

   Usage:undoplots(prevplot)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function  undoplots(prevplot)
0002 %UNDOPLOTS - undo plots
0003 %
0004 %   Usage:undoplots(prevplot)
0005 
0006     %erase all previous plots
0007     g=get(gca,'children');
0008     L=length(g);
0009     for i=1:L-prevplot
0010         delete(g(i));
0011     end
0012 end

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003