Mercurial > hg > octave-nkf
diff scripts/plot/__go_draw_axes__.m @ 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 | f6ca8ff51818 |
children | f74cb5e3a6c1 |
line wrap: on
line diff
--- 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",