Re: 2D plot for lists?
- To: mathgroup at smc.vnet.net
- Subject: [mg53446] Re: 2D plot for lists?
- From: "J. K. Smith" <rob at pi-overe.com>
- Date: Wed, 12 Jan 2005 03:41:17 -0500 (EST)
- References: <crvtb7$122$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
This is an interesting slant on the problem. I've never used the interpolation thing before. Thanks. Bill Rowe wrote: > I am assuming both x and y are 1 dimensionsal lists. If so, you can achieve what you want by using Interpolation to change each list into an InterpolatingFunction and then using the resulting functions in ParametricPlot. For example, > > y = Table[Random[], {5}]; > x = Table[Random[] + 2*n, {n, 5}]; > fx = Interpolation[x]; > fy = Interpolation[y]; > ParametricPlot[{fx[t], fy[t]}, {t, 1, 5}]; > -- > To reply via email subtract one hundred and four >