[Scilab-users] surf and %nan
Rafael Guerra
jrafaelbguerra at hotmail.com
Wed Nov 22 16:39:53 CET 2017
Try this:
surf(asc_data);
f=gcf();
f.color_map=hotcolormap(64);
h=get("hdl")
h.color_mode= -2; //color according to z
h.color_flag= 2; //remove the facets boundary
[cid:image001.png at 01D363B0.84358410]
Regards,
Rafael
From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Richard llom
Sent: Wednesday, November 22, 2017 10:55 AM
To: users at lists.scilab.org
Subject: Re: [Scilab-users] surf and %nan
Ok, I corrected the syntax and it works now with regard to the nans:
[a,b] = find(asc_data==-999);
asc_data([a;b]) = %nan;
The black color btw, seems to be from the edge color, if I do
surf(asc_data,'edgecol','white');
it is all white.
How can I turn the egdecolor completely off? preferably via
suh = get('hdl');
suh.edgecolor = 0;
(which doesn't work)
regards
richard
BTW:
I'm usinge Win10 and scilab 6 here at work.
At home I could test on linux and scilab, however I kind of doubt it is an
OS problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20171122/731990ce/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 28522 bytes
Desc: image001.png
URL: <https://lists.scilab.org/pipermail/users/attachments/20171122/731990ce/attachment.png>
More information about the users
mailing list