| Author |
Comment/Response |
Alexandre Bonatto
|
01/09/11 6:48pm
Hi,
I would like to export data from a graphic plotted in Mathematica to a ".dat" file, to be used with gnuplot.
Let's suppose that I type "Plot [ Sin[x], {x, -5, 5}]", and Mathematica displays the graphic of Sin(x). Then, I would like to export a list of coordinates (each line with the " x , Sin(x) " format).
I have tried "Export["Data.dat", Plot [ Sin[x], {x, -5, 5}]]", but the file is generated in an inappropriate format (with each pair of data inside of a "{ }"}, and with other info I do not would like to have (color, axis, ...).
I would really appreciate some help.
Regards
Alexandre
URL: , |
|