Octave
›
Octave  Maintainers
Search
everywhere
only in this topic
Advanced Search
Matlab test requested
_{‹}
Previous Topic
Next Topic
_{›}
Classic
List
Threaded
♦
♦
Locked
3 messages
Andreas Weber4
Reply

Threaded
Open this post in threaded view
♦
♦

Report Content as Inappropriate
♦
♦
Matlab test requested
Could someone run the following code under Matlab?
figure (1); figure (2);
li = plot (1:10);
ax = gca ()
set (ax, 'parent', 1);
get(1, 'currentaxes') %octave returns [](0x0) here
Thanks, Andy
PS: The reason for the question is
https://savannah.gnu.org/bugs/?41573
Svante Signell4
Reply

Threaded
Open this post in threaded view
♦
♦

Report Content as Inappropriate
♦
♦
Re: Matlab test requested
On Tue, 20140819 at 16:21 +0200, Andreas Weber wrote:
> figure (1); figure (2);
> li = plot (1:10);
> ax = gca ()
> set (ax, 'parent', 1);
> get(1, 'currentaxes') %octave returns [](0x0) here
R2013b (8.2.0.701)
>> figure (1); figure (2);
>> li = plot (1:10);
>> ax = gca ()
ax =
346.0011
>> set (ax, 'parent', 1);
>> get(1, 'currentaxes') %octave returns [](0x0) here
ans =
346.0011
Andreas Weber4
Reply

Threaded
Open this post in threaded view
♦
♦

Report Content as Inappropriate
♦
♦
Re: Matlab test requested
Am 19.08.2014 16:31, schrieb Svante Signell:
> ax =
>
> 346.0011
>
>>> set (ax, 'parent', 1);
>>> get(1, 'currentaxes') %octave returns [](0x0) here
>
> ans =
>
> 346.0011
Great, thank you for testing.
 Andy
Loading...
Free forum by Nabble
Edit this page