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

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

[Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not'


From: sergey plotnikov
Subject: [Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not'
Date: Mon, 17 Feb 2014 08:58:57 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36

Follow-up Comment #2, bug #41588 (project octave):

Yep, I saw that comment and it was quite strange because I can't reproduce
this "sloppy" behavior in Matlab.

You're right Octave works well in case '-not' is not the first argument, but
it will also work incorrect if follows '-depth' or 'flat' argument:

octave:##> figure (1);
octave:##> li = plot (1:10,sin(1:10));
octave:##> ret = findobj (gcf,'flat','-not','type','axes')
ret = [](0x0)
octave:##> ret = findobj (gcf,'-depth',inf,'-not','type','axes')
ret = [](0x0)


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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