[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not'
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not' |
Date: |
Sun, 16 Feb 2014 11:51:01 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 |
Follow-up Comment #1, bug #41588 (project octave):
Here is what matlab returns for the provided example:
>> figure (1);
>> li = plot (1:10,sin(1:10));
>> ret = findobj (gcf,'-not','type','axes');
>> ret' == [gcf() li]
ans =
1 1
I think this particular octave behavior was intended (see the comment in
findobj.m near line 180) and it would be useful to have Ben's input here.
Octave works well as long as "-not" is not the first argument after the
graphics handle:
>> figure (1);
>> li = plot (1:10,sin(1:10));
>> ret = findobj (gcf,'visible', 'on', '-not','type','axes');
>> ret' == [gcf() li]
ans =
1 1
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41588>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not', sergey plotnikov, 2014/02/14
- [Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not',
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not', sergey plotnikov, 2014/02/17
- [Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not', sergey plotnikov, 2014/02/18
- [Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not', Mike Miller, 2014/02/18
- [Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not', sergey plotnikov, 2014/02/18
- [Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not', Pantxo Diribarne, 2014/02/18
- [Octave-bug-tracker] [bug #41588] findobj() wrongly processes '-not', Rik, 2014/02/21