plot array of functions



Hi Pierpaolo,

Maybe you could adapt this to your needs :

Y:makelist(i*x,i,0,9);   plot2d(Y,[x,-5,5]);

Here Y[i] is not a function but an expression.

Eric

Le 03/02/2012 12:47, Pierpaolo Garofalo a ?crit :
> array(Y,9);
>
> for i:0 thru 9 do block(Y[i](x):=i*x, display(Y[i]));
>
> plot2d([Y(x)],[x,-5,5]);