Save values for plotting?



> how can I generate values from a function that I would like to plot
> and save them in a file that I can plot externally from Maxima?
> 


(%i1) data: makelist([x,x^3],x,0,5);
(%o1) [[0, 0], [1, 1], [2, 8], [3, 27], [4, 64], [5, 125]]
(%i2) plot2d([discrete,data])$ /* plot with Maxima */
(%i3) load(numericalio)$
(%i4) write_data(data,"myfile.txt")$


-- 
Mario Rodriguez Riotorto
www.biomates.net