Re: COMBINING LISTS
- To: mathgroup@smc.vnet.net
- Subject: [mg12255] Re: COMBINING LISTS
- From: bawolk@ucdavis.edu (Bruce Wolk)
- Date: Tue, 5 May 1998 03:29:52 -0400
- Organization: University of California, Davis
- References: <6ibuvg$dr@smc.vnet.net>
On 1 May 1998 03:52:16 -0400, Knut.Schroder@chembio.ntnu.no (Knut
Henning Schroder) 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.
>
>Regards,
>
In[1]:=
Transpose[{{a,b,c},{x,y,z}}]
Out[1]=
{{a,x},{b,y},{c,z}}
Cheers, Bruce