Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: NDolve + ParametricPlot

  • To: mathgroup at
  • Subject: [mg67534] Re: NDolve + ParametricPlot
  • From: "Norbert Marxer" <marxer at>
  • Date: Fri, 30 Jun 2006 04:14:00 -0400 (EDT)
  • References: <e7vkhi$sjo$>
  • Sender: owner-wri-mathgroup at


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,

Best Regards
Norbert Marxer

  • Prev by Date: Problem with LegendreQ
  • Next by Date: Plotting Partial Differential Equations
  • Previous by thread: Re: NDolve + ParametricPlot
  • Next by thread: Re: NDolve + ParametricPlot