octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39767] findobj sorts list of returned handles


From: Rik
Subject: [Octave-bug-tracker] [bug #39767] findobj sorts list of returned handles
Date: Tue, 13 Aug 2013 21:24:24 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

Update of bug #39767 (project octave):

                 Summary: initial axes are not ordered properly => findobj
sorts list of returned handles

    _______________________________________________________

Follow-up Comment #10:

Seems like this should be fixed.  The test for correct ordering can then be
moved out of graphics.cc and over to findobj.m.  What is the order of return
for Matlab?


hfig = figure (1);
hax1 = subplot (2,1,1); hp1 = plot (rand (10,1));
hax2 = subplot (2,1,2); hp2 = plot (rand (10,1));
findall (hfig)


Is the grouping flat at each level as shown below?

hfig
hax2
hax1
hp2
hp1

or does it intersperse the children like so?

hfig
hax2
hp2
hax1
hp1




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39767>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]