[Scilab-users] surf and %nan

Rafael Guerra jrafaelbguerra at hotmail.com
Thu Nov 23 15:45:10 CET 2017


Not sure if this should be considered a bug in Scilab 6.0 but it looks odd enough.
If you have time, it might be worth reporting it

-----Original Message-----
From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Richard llom
Sent: Thursday, November 23, 2017 2:28 PM
To: users at lists.scilab.org
Subject: Re: [Scilab-users] surf and %nan

Ah, thank you, this looks good!

With my syntax:
[a,b] = find(asc_data==-999);
asc_data([a;b]) = %nan;

I was occasionally still seeing -999 values in the plot (although they
weren't in asc_data), I suspect some memory issues maybe...

However with
asc_data(asc_data==-999) = %nan

it is working on every pass.



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
users at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



More information about the users mailing list