Functions | |
endif | newplot () |
if (fail) print_usage() | |
endif | htmp (end+1) |
endfor unwind_protect_cleanup | axes (oldh) |
end_unwind_protect | if (nargout > 0) retval |
while (i< nargin) iargs(end+1) | |
if (ischar(varargin{i})&&(strcmpi(varargin{i},"faces")||strcmpi(varargin{i},"vertices"))) i+ | |
elseif (isnumeric(varargin{i})) i+ | |
endif | if (i<=nargin) while(true) |
elseif (ischar(varargin{i})) colspec | |
if (strncmp(colspec,"blue", collen)||strncmp(colspec,"black", collen)||strncmp(colspec,"k", collen)||strncmp(colspec,"black", collen)||strncmp(colspec,"red", collen)||strncmp(colspec,"green", collen)||strncmp(colspec,"yellow", collen)||strncmp(colspec,"magenta", collen)||strncmp(colspec,"cyan", collen)||strncmp(colspec,"white", collen)) i++ | |
Variables | |
function | retval |
htmp = [] | |
iargs = __find_patches__ (varargin{:}) | |
oldh = gca () | |
unwind_protect | axes (h) |
for | i |
else | args = varargin (iargs(i):iargs(i+1)-1) |
break | |
collen = length (colspec) | |
endif endwhile endif endwhile endfunction!demo!clf | !t1 = (1/16:1/8:1)'*2*pi |
!t2 = ((1/16:1/8:1)' + 1/32)*2*pi | |
!x1 = sin(t1) - 0.8 | |
!y1 = cos(t1) | |
!x2 = sin(t2) + 0.8 | |
!y2 = cos(t2) | |
!h = fill(x1,y1,'r',x2,y2,'g') |
elseif | ( | ischar(varargin{i}) | ) |
elseif | ( | isnumeric(varargin{i}) | ) |
endif htmp | ( | end+ | 1 | ) |
if | ( | strncmp(colspec,"blue", collen)||strncmp(colspec,"black", collen)||strncmp(colspec,"k", collen)||strncmp(colspec,"black", collen)||strncmp(colspec,"red", collen)||strncmp(colspec,"green", collen)||strncmp(colspec,"yellow", collen)||strncmp(colspec,"magenta", collen)||strncmp(colspec,"cyan", collen)||strncmp(colspec,"white", collen) | ) |
endif if | ( | i<= | nargin | ) |
if | ( | ischar(varargin{i})&&(strcmpi(varargin{i},"faces")||strcmpi(varargin{i},"vertices")) | ) |
end_unwind_protect if | ( | nargout | , | |
0 | ||||
) |
if | ( | fail | ) |
endif newplot | ( | ) |
while | ( | ) |
!x1 = sin(t1) - 0.8 |
!x2 = sin(t2) + 0.8 |
!y1 = cos(t1) |
break |
collen = length (colspec) |
htmp = [] |
endif endfunction function iargs = __find_patches__ (varargin{:}) |
oldh = gca () |
function retval |