Re: importing data
- To: mathgroup at smc.vnet.net
- Subject: [mg16504] Re: [mg16450] importing data
- From: "Rajdeep S. Kalgutkar" <rajdeep at chem.nwu.edu>
- Date: Tue, 16 Mar 1999 03:59:51 -0500
- Sender: owner-wri-mathgroup at wolfram.com
bernard, Look up ReadList for importing data and ListPlot for plotting it. Both are detailed in the help menu and in the holy tome. You might need to set the RecordLists->True option if you have columns of x-y data. data=ReadList["c:/temp/econ.dat", Number, RecordLists->True] ListPlot[data] Hope this helps, rajdeep At 02:21 AM 3/13/99 -0500, you wrote: >>I wrote a C program that generated several hundred points. I printed the >>data to a file titled econ.dat. I was wondering how I could import this data >>into Mathematica and plot it. >> >>tia >> >>bernard keenan >> >> >>