Le 01/03/2013 16:00, Serge Steer a écrit :

Le 01/03/2013 14:47, grivet a écrit :
Hello,
I am trying to plot a curve using varying colors (or saturations) along the way. The curve is computed as a series of segments. To plot a segment beginning at (xd,yd) and ending at (xf,yf), I have tried the following

plot([xd,xf],[yd,yf],"foreground",3);

It is better to use the xsegs function to do that. This function allows to draw a set of colored segments using a single command
Thank you serge; a further question: how can I define my own color map ?
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to