Le 02/09/2018 à 21:17, Nikhil
Pallamreddy a écrit :
There was no error message this time around.
On Mon, Sep 3, 2018 at 12:44 AM Pantxo Diribarne
< address@hidden>
wrote:
Le
02/09/2018 à 21:12, Nikhil Pallamreddy a écrit :
The screenshot is attached.
On Mon, Sep 3, 2018 at 12:38 AM Pantxo
Diribarne < address@hidden>
wrote:
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
Sorry again, can you try
cla;
h = imagesc ([-1,1], [-5, 5], 1:10);
yl = get (h, 'ydata')
Pantxo
Strange, ylim is now [-15 15], can't make any sense out of this
...
Sorry Nikhil, you did not run the last part "yl = get (h,
'ydata')", what is the value of "yl"?
Pantxo
|