# HG changeset patch # User Soren Hauberg # Date 1243408148 -7200 # Node ID 1e96773920e9fab46c43871d71b1d94337507b40 # Parent f9ac007bb92638e77ebec57ccc65d2fdc4bf2c41 geometry/delaunay.m: support cellstr's as options diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2009-05-27 Søren Hauberg + + * geometry/delaunay.m: Support cellstr's as options. + 2009-05-27 Jaroslav Hajek * plot/imshow.m: Fix handling of indexed images. diff --git a/scripts/geometry/delaunay.m b/scripts/geometry/delaunay.m --- a/scripts/geometry/delaunay.m +++ b/scripts/geometry/delaunay.m @@ -53,7 +53,7 @@ if (isvector (x) && isvector (y) && length (x) == length (y)) if (nargin == 2) tri = delaunayn ([x(:), y(:)]); - elseif (ischar (opt)) + elseif (ischar (opt) || iscellstr (opt)) tri = delaunayn ([x(:), y(:)], opt); else error ("delaunay: third argument must be a string");