Help on arrays



El Miércoles, 19 de Octubre de 2005 01:58, Doug Stewart escribió:
> I have a very complicated formula that calculates some numbers that I
> want to plot.
>
> I tried putting them in an array and then tried to plot them like this:
>
> a[1]:23;
> a[2]:33;
> a[3]:77;
> plot2d(a[x],[x,1,3]);
>
> but this didn't work
> How should I do it??
>
> Doug Stewart



(%i3) a:[23,33,77]$
(%i4) x:[1,2,3]$ 
(%i5) plot2d([discrete,x,a],[gnuplot_curve_styles,["with points"]])$

for more info:
? plot2d

Mario

-- 
--------------------------
Mario Rodriguez Riotorto
www.biomates.net