diff scripts/image/imagesc.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 eb63fbe60fab
children a8ce6bdecce5
line wrap: on
line diff
--- a/scripts/image/imagesc.m	Sun May 16 18:28:59 2010 -0700
+++ b/scripts/image/imagesc.m	Sun May 16 22:26:54 2010 -0700
@@ -115,7 +115,7 @@
   if (length (limits) == 2 && limits(2) >= limits(1))
     set (ax, "clim", limits);
   elseif (! isempty (limits))
-    error ("expected data limits to be [lo, hi]");
+    error ("imagesc: expected data limits to be [lo, hi]");
   endif
 
 endfunction