diff scripts/plot/__scatter__.m @ 7235:ee0820d8b4ac

[project @ 2007-12-01 00:49:32 by jwe]
author jwe
date Sat, 01 Dec 2007 00:49:33 +0000
parents b48a21816f2e
children 1c7b3e1fda19 c5d9aaeb306a
line wrap: on
line diff
--- a/scripts/plot/__scatter__.m
+++ b/scripts/plot/__scatter__.m
@@ -42,7 +42,7 @@
     endif
   endfor
 
-  if (firstnonnumeric > istart)
+  if (istart < nargin && firstnonnumeric > istart)
     s = varargin{istart};
     if (isempty (s))
       s = 8;