Re: COMBINING LISTS
- To: mathgroup@smc.vnet.net
- Subject: [mg12249] Re: [mg12207] COMBINING LISTS
- From: Bob Hanlon <BobHanlon@aol.com>
- Date: Tue, 5 May 1998 03:29:45 -0400
list1 = {a, b, c, d, e};
list2 = {x, y, z, aa, bb};
Transpose[{list1, list2}]
{{a, x}, {b, y}, {c, z}, {d, aa}, {e, bb}}
Bob Hanlon
In a message dated 5/1/98 7:30:15 AM, Knut.Schroder@chembio.ntnu.no
wrote:
>I have two lists:
>list1={a,b,c,d,...} and list2={x,y,z,...} I want to combine the two
>lists for ListPlot in Mathematica ListPlot[{{a,x},{b,y},{c,z},....}]
>Please let me know a simple way to do this.