Re: NDolve + ParametricPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg67534] Re: NDolve + ParametricPlot
- From: "Norbert Marxer" <marxer at mec.li>
- Date: Fri, 30 Jun 2006 04:14:00 -0400 (EDT)
- References: <e7vkhi$sjo$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hello The first argument in ParametricPlot (i.e. Evaluate[{x[t] /. sol, D[x[t] /. sol]}] ) gives { { InterpolatingFunction[{{0.,3.}},<>][t]} , {InterpolatingFunction[{{0.,3.} },<>][t]}} You must get rid of the curly List brackets around the InterpolatingFunction for ParametricPlot to work correctly. You can do this using [[1]]. Note also that Evaluate is not necessary. The correct command then reads: ParametricPlot[{(x[t] /. sol)[[1]], (D[x[t] ] /. sol)[[1]]}, {t, 0, 3}]; Best Regards Norbert Marxer www.mec.li