Reading matrix and making a plot



On 2013-11-20, Dan Kregar <dan.kregar at gmail.com> wrote:

> Thanks a lot. Imported xml tags are caused by wxMaxima (which is most
> likely a bug beacuse of its ambition to enable LaTeX copy/paste of nice
> formatted outputs).

Dunno if it matters, but a different way to write stuff into a file is
to use printf instead of print. Something like

   S : openw ("/path/to/file.txt");
   for i:1 thru n
     do printf (S, "~s, ~s, ~s~%", i, 2*i, 3*i);
   close (S);

Here S is an output stream.

best

Robert Dodier