Le jeu. 25 oct. 2018 à 11:36, José Luis García Pallero <
address@hidden> a écrit :
No errors in Matlab 9.2.0.538062 (R2017a) under Linux. The output
(plus the random image) is
yl =
0.500000000000000 20.500000000000000
yd =
20 1
yl =
0.500000000000000 20.500000000000000
El jue., 25 oct. 2018 a las 11:30, Pantxo Diribarne
(<address@hidden>) escribió:
>
> Hi,
>
> Can someone run the following snippet in Matlab and send back the returned values and eventual errors? The aim is to determine if Matlab allows image ydata to be [ymax ymin].
>
> figure ();
> h = image (rand (20, 20, 3));
> yl = ylim (gca)
> set (h, 'ydata', [20 1]); %error?
> yd = get (h, 'ydata')
> yl = ylim (gca)
>
> Thanks,
>
> Pantxo
--
*****************************************
José Luis García Pallero
address@hidden
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************
Thanks, does inverting the ydata (at "set (h, 'ydata', [20 1]);") flip the displayed image?
Pantxo