diff scripts/plot/__quiver__.m @ 8079:082fa7859574

Additional do not call set with empty arguments fixes
author David Bateman <dbateman@free.fr>
date Tue, 02 Sep 2008 14:52:28 -0400
parents a028a5960e18
children 73d6b71788c0
line wrap: on
line diff
--- a/scripts/plot/__quiver__.m	Tue Sep 02 14:50:08 2008 -0400
+++ b/scripts/plot/__quiver__.m	Tue Sep 02 14:52:28 2008 -0400
@@ -295,7 +295,9 @@
     addlistener (hg, "markerfacecolor", @update_props); 
     addlistener (hg, "markersize", @update_props);
 
-    set (hg, args{:});
+    if (! isempty (args))
+      set (hg, args{:});
+    endif
   unwind_protect_cleanup
     set (h, "nextplot", hstate);
   end_unwind_protect