Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'ListPlot' topicStudent Support Forum > General > Archives > "ListPlot"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Aaron Honecker
09/26/00 3:08pm

>Can anyone please inform me how to plot two lists of data using ListPlot? Say you have one list x={1,2,3,4,5}; and another list y={5,4,3,2,1};. How do you plot these using ListPlot? They must be combined into one paired list first, but I can't seem to figure out how to do that. Any advice?

x={1,2,3,4,5};
y={5,4,3,2,1};

ListPlot[Transpose[{x,y}], PlotJoined->True];

URL: ,

Subject (listing for 'ListPlot')
Author Date Posted
ListPlot P.R. Jackson 09/26/00 12:42pm
Re: ListPlot Aaron Honecker 09/26/00 3:08pm
< Previous CommentHelp | Reply To Comment | Reply To Topic