# HG changeset patch # User jwe # Date 1196470173 0 # Node ID ee0820d8b4ac9c1807767ebb4e7a01210d1b00fa # Parent 6992e9face25c1d3b1974c1cb3e8e5b1991ee56b [project @ 2007-12-01 00:49:32 by jwe] diff -r 6992e9face25 -r ee0820d8b4ac scripts/ChangeLog --- a/scripts/ChangeLog Fri Nov 30 20:45:42 2007 +0000 +++ b/scripts/ChangeLog Sat Dec 01 00:49:33 2007 +0000 @@ -5,6 +5,8 @@ 2007-11-30 David Bateman + * plot/__scatter__.m: Avoid out of bounds varargin element access. + * plot/__go_draw_axes__.m (do_tics_1): regexprep the cell array of tick labels rather than one by one on the labels themselves. * plot/pareto.m: Bug in numerical labels fixed. Bug in search for diff -r 6992e9face25 -r ee0820d8b4ac scripts/plot/__scatter__.m --- a/scripts/plot/__scatter__.m Fri Nov 30 20:45:42 2007 +0000 +++ b/scripts/plot/__scatter__.m Sat Dec 01 00:49:33 2007 +0000 @@ -42,7 +42,7 @@ endif endfor - if (firstnonnumeric > istart) + if (istart < nargin && firstnonnumeric > istart) s = varargin{istart}; if (isempty (s)) s = 8;