Re: COMBINING LISTS
- To: mathgroup@smc.vnet.net
- Subject: [mg12239] Re: [mg12207] COMBINING LISTS
- From: "Tomas Garza" <tgarza@mail.internet.com.mx>
- Date: Tue, 5 May 1998 03:29:34 -0400
Knut 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},....}]
I assume both lists are the same length. Try
ListPlot[Transpose[{list1,list2}]]
Good luck.
Tomas Garza
Mexico City