diff scripts/plot/appearance/__getlegenddata__.m @ 21144:76e0ef020dae

maint: Periodic merge of stable to default.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Wed, 27 Jan 2016 14:15:17 +0100
parents 516bb87ea72e 6f6eae08836f
children 7aa8d9c28d2b
line wrap: on
line diff
--- a/scripts/plot/appearance/__getlegenddata__.m	Mon Jan 25 19:39:58 2016 -0500
+++ b/scripts/plot/appearance/__getlegenddata__.m	Wed Jan 27 14:15:17 2016 +0100
@@ -29,7 +29,7 @@
   if (numel (ca) == 1)
     kids = get (ca, "children");
   else
-    kids = [get(ca, "children"){:}];
+    kids = cell2mat (get (ca, "children"));
   endif
 
   for i = numel (kids):-1:1