MathGroup Archive 1998

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

Search the Archive

Re: COMBINING LISTS



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



  • Prev by Date: Re: Mathematica 3.0 preferences-file
  • Next by Date: How Mathematica select one of the roots?
  • Prev by thread: Re: COMBINING LISTS
  • Next by thread: Re: COMBINING LISTS