Mercurial > hg > octave-nkf
changeset 9111:96e7a72be5e7
typo
author | David Bateman <dbateman@free.fr> |
---|---|
date | Sun, 12 Apr 2009 11:08:56 +0200 |
parents | 22ae6b3411a7 |
children | f5b51f54f44e |
files | scripts/plot/__patch__.m |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/__patch__.m +++ b/scripts/plot/__patch__.m @@ -34,12 +34,12 @@ if (isstruct (varargin{1})) if (isfield (varargin{1}, "vertices") && isfield (varargin{1}, "faces")) args{1} = "faces"; - args{2} = field(varargin{1}, "faces"); + args{2} = getfield(varargin{1}, "faces"); args{3} = "vertices"; - args{4} = field(varargin{1}, "vertices"); + args{4} = getfield(varargin{1}, "vertices"); args{5} = "facevertexcdata"; if (isfield (varargin{1}, "facevertexcdata")) - args{6} = field(varargin{1}, "facevertexcdata"); + args{6} = getfield(varargin{1}, "facevertexcdata"); else args{6} = []; endif