[Scilab-users] surf and %nan

Rafael Guerra jrafaelbguerra at hotmail.com
Tue Nov 21 18:19:51 CET 2017


%nan are not plotted in Scilab 5.5.2.
Either some data point approaches -1000 or condition M==-999 fails to grab all non-valid entries.


-----Original Message-----
From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Richard llom
Sent: Tuesday, November 21, 2017 5:42 PM
To: users at lists.scilab.org
Subject: [Scilab-users] surf and %nan

Hi all,
I have a big matrix, which I want to surf plot. However there are actually
only values for a non-rectangular shape and i want to blank out those other
values (which are -999 by default).

[a,b]=find(M==-999);
M(a,b) = %nan;
surf(M);

However this gives me a weird all-black surf plot, with a Z up to -1000 ??

Am I'm missing something?
cheers
richard



--
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