Mercurial > hg > octave-lyh
diff scripts/plot/isonormals.m @ 10635:d1978e7364ad
Print name of function in error() string messages.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 16 May 2010 22:26:54 -0700 |
parents | 95c3e38098bf |
children | 693e22af08ae |
line wrap: on
line diff
--- a/scripts/plot/isonormals.m +++ b/scripts/plot/isonormals.m @@ -98,7 +98,7 @@ if (strcmp (lower (varargin{nargin}), "negate")) negate = true; else - error ("Unknown option '%s'", varargin{nargin}); + error ("isonormals: Unknown option '%s'", varargin{nargin}); endif endif switch na @@ -124,7 +124,7 @@ pa = vp; v = get (pa, "Vertices"); else - error ("Last argument is no vertex list and no patch handle"); + error ("isonormals: Last argument is not a vertex list or a patch handle"); endif if (negate) normals = -__interp_cube__ (x, y, z, c, v, "normals");