Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Export file data to be used with gnuplot' topicStudent Support Forum > General > Archives > "Export file data to be used with gnuplot"

Next Comment >Help | Reply To Topic
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: ,

Subject (listing for 'Export file data to be used with gnuplot')
Author Date Posted
Export file data to be used with gnuplot Alexandre Bo... 01/09/11 6:48pm
Re: Export file data to be used with gnuplot S. Saralamba 01/11/11 04:44am
Re: Re: Export file data to be used with gnuplot Alexandre Bo... 01/14/11 08:08am
Re: Re: Re: Export file data to be used with gn... S. Saralamba 01/18/11 10:25pm
Re: Re: Re: Re: Export file data to be used wit... Paul 08/04/11 04:24am
Re: Export file data to be used with gnuplot Jan 04/24/11 06:32am
Next Comment >Help | Reply To Topic