# HG changeset patch # User Alexander Mamonov # Date 1245856393 14400 # Node ID 5497b0795fb96ce737c21cd7adcbe0fb99aa3abc # Parent 8bec23396924aaac06ff26cf9963efe0beec7bdc plot3.m: correctly compute offsets for property/value pairs diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -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 --git a/scripts/plot/plot3.m b/scripts/plot/plot3.m --- a/scripts/plot/plot3.m +++ b/scripts/plot/plot3.m @@ -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