|
From: | Nikhil Pallamreddy |
Subject: | Re: ,Request for test in Matlab |
Date: | Mon, 3 Sep 2018 00:42:38 +0530 |
Le 02/09/2018 à 21:01, Nikhil Pallamreddy a écrit :
Ran modified code. Screenshot attached.
The code seems to have failed and yl=1.
On Mon, Sep 3, 2018 at 12:15 AM Pantxo Diribarne <address@hidden> wrote:
Le 02/09/2018 à 19:01, Nikhil Pallamreddy a écrit :
> Heya,
>
> Not quite sure if this is what you wanted or even if this is the way I
> need to respond. New here.
>
> Running 2018a on Ubuntu 16.04.
No, I didn't expect this code to fail so early :-). I am adding the
maintainers list again in the CC (you should answer to all so that
everybody knows).
Could you or someone else run the modified attached code:
imagesc([-1,1], [-5, 5], 1:10)
print -dsvg xydata.svg
yl = get (h, 'ydata')
I am interested to know whether this code fails and if not what is the
value of yl.
Thanks.
The previous snippet failed because yl is a scalar and I requested its second element in sprintf. Now what does these two lines code produce?
imagesc ([-1,1], [-5, 5], 1:10) % I expect this to fail. What is the error message
yl = get (h, 'ydata') % If the above did not fail, yl?
Pantxo
Selection_018.jpg
Description: JPEG image
[Prev in Thread] | Current Thread | [Next in Thread] |