MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: ReadList query

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27688] RE: [mg27671] ReadList query
  • From: "JOHN C ERB" <JOHN_C_ERB at prodigy.net>
  • Date: Sun, 11 Mar 2001 04:04:31 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Try Partition.

list = {1,2,3,4,5,6};

newlist = Partition[list,2]

Should give:

{{1,2},{3,4},{5,6}}


John C. Erb


-----Original Message-----
From: Robert-Lewis HYDE [mailto:bobhyde at wanadoo.fr]
To: mathgroup at smc.vnet.net
Subject: [mg27688] [mg27671] ReadList query


Help please,

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 ?

bob







  • Prev by Date: things to do before reinstalling linux
  • Next by Date: Re: Re: Simple integration that Mathematica can't do?
  • Previous by thread: Re: ReadList query
  • Next by thread: Re: ReadList query