diff scripts/plot/__stem__.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/__stem__.m
+++ b/scripts/plot/__stem__.m
@@ -143,7 +143,9 @@
       addlistener (hg, "ydata", @update_data);
       addlistener (hg, "zdata", @update_data);
 
-      set (hg, args{:});
+      if (! isempty (args))
+	set (hg, args{:});
+      endif
       if (i == 1 && !isempty(h_baseline))
 	set (h_baseline, "parent", get (hg, "parent"));
       endif