[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Request for test in Matlab
From: |
Pantxo |
Subject: |
Request for test in Matlab |
Date: |
Sun, 2 Sep 2018 06:38:44 -0500 (CDT) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Request for test in Matlab,
Pantxo <=