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: José Luis García Pallero
Subject: Re: Request for test in Matlab
Date: Thu, 25 Oct 2018 12:05:22 +0200

Yes. Attached are the figures. fig1.png is the figure after h = image
(rand (20, 20, 3)); and fig2.png is the one after the other commands
El jue., 25 oct. 2018 a las 11:55, Pantxo Diribarne
(<address@hidden>) escribió:
>
>
>
> 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
>


-- 
*****************************************
José Luis García Pallero
address@hidden
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************

Attachment: fig1.png
Description: PNG image

Attachment: fig2.png
Description: PNG image


reply via email to

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