xlabel, ylabel, zlabel, title: upgrade requested
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
Presently, colors of the text, of the box or of its background are restricted to a short list of possible colors:
"red","green","blue","cyan","magenta","yellow","black","white".
There is no reason for such a restriction. Scilab has a wide list of predefined named colors.
xlabel etc should be able to use any of them.
--> plot2d()
--> xlabel("Test","color","grey50")
WARNING: getColorIndex: Wrong value for input argument #1: A color of the colormap expected.
in builtin setTitleLabelProperty ( SCI\modules\graphics\macros\setTitleLabelProperty.sci line 12 )
at line 77 of function TitleLabel ( SCI\modules\graphics\macros\TitleLabel.sci line 88 )
at line 10 of function xlabel ( SCI\modules\graphics\macros\xlabel.sci line 21 )
Invalid index.
ERROR LOG:
----------
See above
HOW TO REPRODUCE THE BUG:
-------------------------
plot2d()
xlabel("Test","color","grey50")
OTHER INFORMATION:
------------------
Scilab 6.0.2-