diff scripts/plot/shading.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 dbd0c77e575e
children be55736a0783
line wrap: on
line diff
--- a/scripts/plot/shading.m	Sun May 16 18:28:59 2010 -0700
+++ b/scripts/plot/shading.m	Sun May 16 22:26:54 2010 -0700
@@ -67,7 +67,7 @@
       set (h, "facecolor", "flat");
       set (h, "edgecolor", [0 0 0]);
     else
-      error ("unknown argument");
+      error ("shading: unknown argument");
     endif
   endfor