[Scilab-users] Facet color in Vers. 5.5.2
Rafael Guerra
jrafaelbguerra at hotmail.com
Sat Nov 12 13:49:49 CET 2016
Hi Jens,
You need a proper input to plot3d (x and y monotonous with length n1 and n2, and z with size n1 x n2):
clear; clf();
plot3d([0 1],[0 1],[0 0; 0 0])
ce=gce();
ce.color_flag=0;
ce.color_mode=5; // 5 = red; 1 = black
Regards,
Rafael
From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Jens Simon Strom
Sent: Saturday, November 12, 2016 12:00 PM
To: Users mailing list for Scilab <users at lists.scilab.org>
Subject: [Scilab-users] Facet color in Vers. 5.5.2
Hi Scilab experts,
please help me to get the facet black, not cyan.
plot3d([0 1 1 0]',[0 0 1 1 ]',[0 0 0 0]')
ce=gce();
ce.color_flag=0;// Help page says: "All facets are painted using the color index and method defined by color_mode"
ce.color_mode=1//Help page says: "The color of the facet when color_flag value is 0" Index 1 should produce Black, but CYAN is delivered.
//getcolor
Regards
Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161112/cb5e8d7c/attachment.htm>
More information about the users
mailing list