changeset 25322:2540fde5f07b stable

linkprop.m: Fix error when more than 4 handles are given as input. * linkprop.m: Use ';' to concatenate handles vertically, rather than ',' comma.
author Rik <rik@octave.org>
date Fri, 27 Apr 2018 09:55:31 -0700
parents 56201aad3462
children 5c1dcc504c62 c5c0ee1b7443
files scripts/plot/util/linkprop.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/linkprop.m	Thu Apr 26 21:39:22 2018 -0400
+++ b/scripts/plot/util/linkprop.m	Fri Apr 27 09:55:31 2018 -0700
@@ -82,7 +82,7 @@
   for i = 1 : numel (h)
     for j = 1 : numel (prop)
       addlistener (h(i), prop{j},
-                   {@cb_sync_prop, [h(1:i-1), h(i+1:end)], prop{j}});
+                   {@cb_sync_prop, [h(1:i-1); h(i+1:end)], prop{j}});
     endfor
   endfor