[Scilab-users] surf and %nan
Richard llom
richard.llom at gmail.com
Tue Nov 21 17:41:40 CET 2017
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
More information about the users
mailing list