# HG changeset patch # User Alexander Mamonov # Date 1245856393 14400 # Node ID 5497b0795fb96ce737c21cd7adcbe0fb99aa3abc # Parent 8bec23396924aaac06ff26cf9963efe0beec7bdc plot3.m: correctly compute offsets for property/value pairs diff -r 8bec23396924 -r 5497b0795fb9 scripts/ChangeLog --- a/scripts/ChangeLog Wed Jun 24 08:07:43 2009 +0200 +++ b/scripts/ChangeLog Wed Jun 24 11:13:13 2009 -0400 @@ -1,3 +1,7 @@ +2009-06-24 Alexander Mamonov + + * plot/plot3.m: Correctly compute offsets for property/value pairs. + 2009-06-23 Alexander Mamonov * image/imread.m: New test. diff -r 8bec23396924 -r 5497b0795fb9 scripts/plot/plot3.m --- a/scripts/plot/plot3.m Wed Jun 24 08:07:43 2009 +0200 +++ b/scripts/plot/plot3.m Wed Jun 24 11:13:13 2009 -0400 @@ -145,7 +145,7 @@ if (nargin - arg < 2) error ("plot3: properties must appear followed by a value"); endif - properties = [properties, varargin(arg:arg+1)]; + properties = [properties, varargin(arg+1:arg+2)]; arg += 2; endwhile endif