Re: ReadList query
- To: mathgroup at smc.vnet.net
- Subject: [mg27737] Re: ReadList query
- From: "David Annetts" <David.Annetts at dem.csiro.au>
- Date: Tue, 13 Mar 2001 03:52:57 -0500 (EST)
- References: <98cgri$g2m@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Bob, > I have a long series of data as; > > > 3000; 2,3; 3000; 3,5; ........... > > I would like to Read this as > > {{3000, 2.3},{3000, 3.5},...........}} > > in order to Plot etc. > > What is the code please ? You need to look at ReadList (or Read if you prefer) and then to the definitions of RecordList within ReadList (or Read). After that, you can read either single numbers and Partition them, or read a pair at a time. Regards, Dave.