Mercurial > octave
changeset 21143:6f6eae08836f stable
__getlegenddata__.m: fix handling of multiple child elements (bug #46835)
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Wed, 27 Jan 2016 12:47:22 +0100 |
parents | a3362dd2dd52 |
children | 76e0ef020dae 8b1e030d3d4f |
files | scripts/plot/appearance/__getlegenddata__.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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