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 clf | ( | varargin | ) |
elseif | ( | ischar(varargin{1})&&strcmpi(varargin{1},"reset") | ) |
elseif | ( | nargin | , | |
1 | ||||
) |
&& ischar | ( | ) |
else print_usage | ( | ) |
reset | ( | hfig | ) |
do_reset = true |
oldfig = gcf |