Re: please help with plot
- To: mathgroup at smc.vnet.net
- Subject: [mg19846] Re: please help with plot
- From: Martin Kraus <Martin.Kraus at informatik.uni-stuttgart.de>
- Date: Sun, 19 Sep 1999 01:20:31 -0400
- Organization: Institut fuer Informatik, Universitaet Stuttgart
- References: <7rshjt$3hb@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Mark G wrote: > > I have a data file that consist of 2 columns. I wish to treat the first > column as my x-cordinate and the second as my y cordinate. I have about 200 > data points. How can I get mathematica to read this data and plot the > points. I have tried the ReadList command, but it reads the numbers > sequentially instead of as an ordered pair. I have mathematica 3.0. > > Thanks > > Mark G In general it is useful to read the manual; the commands are ReadList (with option RecordLists) and ListPlot. Alternatively you could use Partition to create sublists in your list. Hope that helps Martin K.