diff scripts/plot/isocolors.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 2884758e265b
children 693e22af08ae
line wrap: on
line diff
--- a/scripts/plot/isocolors.m
+++ b/scripts/plot/isocolors.m
@@ -137,7 +137,7 @@
     pa = vp;
     v = get (pa, "Vertices");
   else
-    error("Last argument is no vertex list and no patch handle");
+    error("isocolors: last argument is not a vertex list or patch handle");
   endif
   if ( calc_rgb )
     new_col = zeros (size (v, 1), 3);