comparison 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
comparison
equal deleted inserted replaced
10634:60542efcfa2c 10635:d1978e7364ad
65 set (h, "edgecolor", "none"); 65 set (h, "edgecolor", "none");
66 elseif (strcmpi (mode, "faceted")) 66 elseif (strcmpi (mode, "faceted"))
67 set (h, "facecolor", "flat"); 67 set (h, "facecolor", "flat");
68 set (h, "edgecolor", [0 0 0]); 68 set (h, "edgecolor", [0 0 0]);
69 else 69 else
70 error ("unknown argument"); 70 error ("shading: unknown argument");
71 endif 71 endif
72 endfor 72 endfor
73 73
74 endfunction 74 endfunction
75 75