[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60792] legend function returns too few object
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #60792] legend function returns too few objects in different order compared to Matlab |
Date: |
Thu, 17 Jun 2021 16:27:29 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #3, bug #60792 (project octave):
In Octave you can do:
>> [hl] = legend (h(:), {'sin', 'cos'});
>> hlc = get (hl, "children")
hlc =
-2.8608
-4.7081
-5.6784
-7.1292
>> for ii=1:numel (obj)
get (hlc(ii), 'type')
end
ans = text
ans = line
ans = text
ans = line
but Matlab r2020b says:
>> hlc = get (hl, 'children')
hlc =
0×0 empty GraphicsPlaceholder array.
>>
so that doesn't help.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60792>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60792] legend function returns too few objects in different order compared to Matlab, Philip Nienhuis, 2021/06/17
- [Octave-bug-tracker] [bug #60792] legend function returns too few objects in different order compared to Matlab, Pantxo Diribarne, 2021/06/17
- [Octave-bug-tracker] [bug #60792] legend function returns too few objects in different order compared to Matlab, Philip Nienhuis, 2021/06/17
- [Octave-bug-tracker] [bug #60792] legend function returns too few objects in different order compared to Matlab,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #60792] legend function returns too few objects in different order compared to Matlab, Philip Nienhuis, 2021/06/17
- [Octave-bug-tracker] [bug #60792] legend function returns too few objects in different order compared to Matlab, Pantxo Diribarne, 2021/06/17
- [Octave-bug-tracker] [bug #60792] legend function returns too few objects in different order compared to Matlab, Philip Nienhuis, 2021/06/17
- [Octave-bug-tracker] [bug #60792] legend function returns too few objects in different order compared to Matlab, Pantxo Diribarne, 2021/06/20
- [Octave-bug-tracker] [bug #60792] legend function returns too few objects in different order compared to Matlab, Philip Nienhuis, 2021/06/21