Request for test in Matlab

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Request for test in Matlab

Pantxo
Hi,

I am trying to determine how Matlab handles images "ydata" when there is
only on line of pixels (see https://savannah.gnu.org/bugs/?54610).
Can someone run the following and post the produced image back

subplot (2,1,1)
h = imagesc(1:10)
xl = get (h, 'xdata')
yl = get (h, 'ydata')
xlabel (sprintf ('xdata [%g %g]', xl(1), xl(2)))
ylabel (sprintf ('ydata [%g %g]', yl(1), yl(2)))
subplot (2,1,2)
h = imagesc([-1,1], [-0.5, 0.5], 1:10)
xl = get (h, 'xdata')
yl = get (h, 'ydata')
xlabel (sprintf ('xdata [%g %g]', xl(1), xl(2)))
ylabel (sprintf ('ydata [%g %g]', yl(1), yl(2)))
imagesc([-1,1], [-0.5, 0.5], 1:10)
print -dsvg xydata.svg

Thanks,

Pantxo




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html