BUG DESCRIPTION:
----------------
Presently, it is not possible to specify comets colors by color names. Only indices are accepted.
The rich list of predefined named colors should be usable in a straightforward way, without having to use color(colorname).
Hence, the following should be accepted:
t = linspace(0,10*%pi,500)';
// 2D
clf, comet(t.*sin(t), [t.*sin(2*t) t.*sin(3*t)], "colors",["cyan" "orange"])
// 3D
clf, comet3d(t.*sin(t), t, [t.*sin(2*t) t.*sin(3*t)], "colors",["cyan" "orange"])
ERROR LOG:
----------
// 2D:
// ===
--> clf, comet(t.*sin(t), [t.*sin(2*t) t.*sin(3*t)],"colors",["cyan" "orange"])
in builtin round
at line 18 of function comet ( SCI\modules\graphics\macros\comet.sci line 30 )
Function not defined for given argument type(s),
check arguments or define function %c_round for overloading.
// 3D:
// ===
--> clf, comet3d(t.*sin(t),t, [t.*sin(2*t) t.*sin(3*t)],"colors",["cyan" "orange"])
in builtin round
at line 16 of function comet3d ( C:\LOGICI~1\scilab\SCE99D~1.0\modules\graphics\macros\comet3d.sci line 28 )
Function not defined for given argument type(s),
check arguments or define function %c_round for overloading.
HOW TO REPRODUCE THE BUG:
-------------------------
t = linspace(0,10*%pi,500)';
clf, comet(t.*sin(t), [t.*sin(2*t) t.*sin(3*t)], "colors",["cyan" "orange"])
scf(), comet3d(t.*sin(t), t, [t.*sin(2*t) t.*sin(3*t)], "colors",["cyan" "orange"])