Re: {x},{y} -> {x,y} ?
- To: mathgroup at smc.vnet.net
- Subject: [mg68256] Re: {x},{y} -> {x,y} ?
- From: "Scout" <Scout at nodomain.com>
- Date: Mon, 31 Jul 2006 03:45:08 -0400 (EDT)
- References: <eaht5b$or5$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"AngleWyrm" <anglewyrm at yahoo.com> news:eaht5b$or5$1 at smc.vnet.net... > Hi, > I have two lists, a set of x values and a set of y values. How do I > convert > them to one list of { {x1,y1},{x2,y2} } pairs? > > Hi, you could use Transpose[{x, y}] , where x and y are the two lists of the same length. Regards, ~Scout~