asking on maxima plotting data



El mi?, 20-04-2011 a las 12:27 +0800, razif razali escribi?:
> here what I get so far,by using with_stdout
> 
> 
> with_stdout ("data4.txt", for x:1 thru 10 do print (x,2.0*x+38.0/x))$
> 
> 
> I got several problem here

Try this:

/* change the function and the step amplitude to whatever fits your
needs */
sample : makelist(block([x: 1+ i*0.1], [x, 2.0*x+38.0]), i, 1, 10) $
write_data(sample, "yourfile") $

--
Mario