surf(X,Y,Z,"foreground","orange") or mesh(..) are refused. All scilab colors names must be usable (as stated in the GlobalProperty page for Color), not only a restricted list of 10 major colors
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
--> mesh(X,Y,Z,"foreground","orange");
WARNING: getColorIndex: Wrong value for input argument #1: A color of the colormap expected.
at line 88 of function setSurfProperty (SCI\modules\graphics\macros\setSurfProperty.sci line 99)
at line 314 of function surf (SCI\modules\graphics\macros\surf.sci line 326)
at line 20 of function mesh (SCI\modules\graphics\macros\mesh.sci line 31)
Invalid index.
https://help.scilab.org/docs/6.0.0/en_US/GlobalProperty.html
https://help.scilab.org/docs/6.0.0/en_US/mesh.html
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
mesh(X,Y,Z,"foreground","orange")
OTHER INFORMATION:
------------------
Occurred already in Scilab 4.x. Still the case in Scilab 6.0.0