Navigation

Operators and Keywords

Function List:

C++ API

clf.m File Reference


Functions

function clf (varargin) if(nargin > 2) print_usage()
 elseif (nargin > 1) if(isfigure(varargin
&& ischar (varargin{2})&&strcmpi(varargin
else print_usage ()
endif elseif (nargin==1) if(isfigure(varargin
 elseif (ischar(varargin{1})&&strcmpi(varargin{1},"reset")) hfig
endif if (do_reset) hc
 reset (hfig) else hc
endif delete (hc)

Variables

reset oldfig = gcf
 hfig = varargin{1}
 do_reset = true

Function Documentation

function clf ( varargin   ) 

endif delete ( hc   ) 

elseif ( ischar(varargin{1})&&strcmpi(varargin{1},"reset")   ) 

endif elseif ( nargin  = = 1  ) 

elseif ( nargin  ,
 
)

endif if ( do_reset   ) 

&& ischar (  ) 

else print_usage (  ) 

reset ( hfig   ) 


Variable Documentation

do_reset = true

endif else hfig = varargin{1}

oldfig = gcf