Functions | |
if (isstruct(varargin{1})) if(isfield(varargin | |
vertices && | isfield (varargin{1},"faces")) args |
if (isfield(varargin{1},"facevertexcdata")) args | |
varargin (2:end)] | |
endif | elseif (isnumeric(varargin{1})) if(nargin< 3||!isnumeric(varargin |
if (nargin > 3 &&ndims(varargin{3})==2 &&ndims(x)==2 &&size_equal(x, varargin{3})&&!ischar(varargin{3})) z | |
endif | if (isvector(x)) x |
if (isnumeric(varargin{iarg})) c | |
if (ndims(c)==3 &&size(c, 2)==1) c | |
endif | if (isvector(c)&&numel(c)==columns(x)) if(isnan(c)) args |
elseif (isnumeric(c)) args | |
else | error ("patch: color value not valid") |
endif | elseif (size(c, ndims(c))==3) args |
Variables | |
function [h, failed] | |
endif | args = getfield(varargin{1}, "facevertexcdata") [args |
else | failed = true |
else | x = varargin{1} |
y = varargin{2} | |
iarg = 3 | |
else | z = [] |
elseif | ( | isnumeric(c) | ) |
endif elseif | ( | isnumeric(varargin{1}) | ) |
endif if | ( | isvector(c)&&numel(c) | = = columns (x) |
) |
if | ( | ndims(c) | = =3 &&size(c, 2)==1 |
) |
if | ( | isnumeric(varargin{iarg}) | ) |
endif if | ( | isvector(x) | ) |
if | ( | nargin | , | |
3 && | ndimsvarargin{3} = =2 &&ndims(x)==2 &&size_equal(x, varargin{3})&&!ischar(varargin{3}) | |||
) |
if | ( | isfield(varargin{1},"facevertexcdata") | ) |
if | ( | isstruct(varargin{1}) | ) |
vertices&& isfield | ( | ) |
varargin | ( | 2:end | ) |
args = getfield(varargin{1}, "facevertexcdata") [args |
failed = true |
iarg = 3 |
else x = varargin{1} |
y = varargin{2} |
z = [] |