Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: 2D plot for lists?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53427] Re: [mg53395] 2D plot for lists?
  • From: yehuda ben-shimol <benshimo at bgu.ac.il>
  • Date: Tue, 11 Jan 2005 01:31:21 -0500 (EST)
  • References: <200501100403.XAA14022@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

First, I assume that both lists are named x and y and are of identical 
length.
Then you can use either one of the followings
1) ListPlot[Transpose[{x,y}]]
2) ListPlot[Thread[{x,y}]]
good luck
yehuda

J. K. Smith wrote:

>I'd like to make a 2D plot using two lists for the x and y axes.  I need 
>what ParametricPlot[ {x[t], y[t]}, {t, tmin, tmax}] does for two 
>functions of t except x and y are lists of values. There doesn't seem to 
>be a ParametricListPlot[] to do this.  Any suggestions? Thanks.
>
>Remove the "-" for email.
>
>  
>


  • Prev by Date: Re: 2D plot for lists?
  • Next by Date: Re: 2D plot for lists?
  • Previous by thread: Re: 2D plot for lists?
  • Next by thread: Re: 2D plot for lists?