Mercurial > hg > octave-lojdl
changeset 8216:5d6b9311be38
__go_draw_axes__.m: Fix concatenation of handles.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Tue, 14 Oct 2008 14:49:00 -0400 |
parents | 518789a0539d |
children | f74cb5e3a6c1 |
files | scripts/ChangeLog scripts/plot/__go_draw_axes__.m |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2008-10-13 Ben Abbott <bpabbott@mac.com> + + * plot/__go_draw_axes__.m: Fix concatenation of handles. + 2008-10-12 David Bateman <dbateman@free.fr> * general/colon..m: New function.
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -930,8 +930,12 @@ endif case "hggroup" - # push group children into the kid list - kids = [obj.children kids]; + # push group children into the kid list + if (isempty (kids)) + kids = obj.children; + elseif (! isempty (obj.children)) + kids = [obj.children; kids]; + endif otherwise error ("__go_draw_axes__: unknown object class, %s",