# HG changeset patch # User Kai T. Ohlhus # Date 1453895242 -3600 # Node ID 6f6eae08836f57d5542e1fee977abad7b87aa4f2 # Parent a3362dd2dd52ce5a3353d0dcae733242ec774d1f __getlegenddata__.m: fix handling of multiple child elements (bug #46835) diff -r a3362dd2dd52 -r 6f6eae08836f scripts/plot/appearance/__getlegenddata__.m --- a/scripts/plot/appearance/__getlegenddata__.m Wed Jan 27 11:22:58 2016 +0100 +++ b/scripts/plot/appearance/__getlegenddata__.m Wed Jan 27 12:47:22 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