octave-maintainers
[Top][All Lists]
Advanced

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

Request for Matlab test


From: Pantxo Diribarne
Subject: Request for Matlab test
Date: Mon, 02 Mar 2015 22:15:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi,

I would like to know how Matlab handles uipanels and their axes children. Can someone run the following in Matlab?

--------------------------------------------

hf = figure ();
hax = axes (); plot (1:10)
hu = uipanel ();
get (hu, 'position')
%% Is the uipanel drawn above/below  the axes?

set (hax, 'parent', hu)
hc = colorbar ();
hax2 = axes (); peaks ()
%% Is the last axes drawn above/below  the uipanel?

set (hax2, 'parent', hu)
ch = get (hu, 'children');
ch == hax
ch == hax2

axes (hax1);
ch = get (hu, 'children');
ch == hax
ch == hax2

axes (hax2);
ch = get (hu, 'children');
ch == hax
ch == hax2

--------------------------------------------

Thanks in advance,

Pantxo



reply via email to

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