[Scilab-users] plot2d problem

philippe rouxph.22 at gmail.com
Wed Aug 24 16:00:41 CEST 2016


Hi,

Le 21/08/2016 à 08:27, Gerhard Kreuzer a écrit :
> 
> here my two attepts one working, one failed, but why?
> 
>  
> 
> plot2d(x, [y z]);
> 
> //plot2d(x, y);                    // working
> 
> //plot2d(x, z);                    // working


if  x,y,z  are column vectors of the same length you should try :


plot2d([x x],[y z],[y_color z_color])


the  argument [y_color z_color] is optional but it let you choose the
colors for both plots (try [2 5]  for [y_color z_color]).

Philippe.




More information about the users mailing list