Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'How to make a list out of two lists' topicStudent Support Forum > General > Archives > "How to make a list out of two lists"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda ben-shimol
09/26/11 05:36am

Here are three ways to do that. The first one is the most immediate one

V = {0.717, 1.171, 1.647, 2.16, 2.687, 3.222, 3.764, 4.291, 4.79};

P = {26.5, 56.2, 94.3, 140.9, 195.5, 257.8, 326.5, 399.1, 471.8};


ListPlot[Transpose[{P, V}]]
ListPlot[Thread[{P, V}]]
ListPlot[Partition[Riffle[P, V], 2]]

yehuda

URL: ,

Subject (listing for 'How to make a list out of two lists')
Author Date Posted
How to make a list out of two lists Theo 09/25/11 10:47am
Re: How to make a list out of two lists Bill 09/25/11 11:22pm
Re: How to make a list out of two lists yehuda ben-s... 09/26/11 05:36am
< Previous CommentHelp | Reply To Comment | Reply To Topic