changeset 12015:bb2afac6d1f5
release-3-2-x
plot3.m: correctly compute offsets for property/value pairs
author |
Alexander Mamonov <mamonov@gmail.com> |
date |
Thu, 25 Jun 2009 06:35:14 +0200 |
parents |
8d76b5d34e69 |
children |
a224089d84ef |
files |
scripts/ChangeLog scripts/plot/plot3.m |
diffstat |
2 files changed, 5 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-24 Alexander Mamonov <mamonov@gmail.com>
+
+ * plot/plot3.m: Correctly compute offsets for property/value pairs.
+
2009-06-22 Ben Abbott <bpabbott@mac.com>
* plot/grid.m: Add missing semi-colon. Allow grid to be toggled
--- 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