octave-maintainers
[Top][All Lists]
Advanced

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

Re: Request for test in Matlab


From: Pantxo Diribarne
Subject: Re: Request for test in Matlab
Date: Thu, 25 Oct 2018 11:55:03 +0200



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


reply via email to

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