Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Re: help plot log[f[t]] vs a parameter using an ODE

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81156] Re: [mg81119] Re: help plot log[f[t]] vs a parameter using an ODE
  • From: DrMajorBob <drmajorbob at bigfoot.com>
  • Date: Fri, 14 Sep 2007 03:35:58 -0400 (EDT)
  • References: <29412038.1189701849028.JavaMail.root@m35>
  • Reply-to: drmajorbob at bigfoot.com

Of course it does; you haven't given y and x any values.

Clear[u]
u = u /. First@
     NDSolve[{u''[t] + u[t] == 0, u[0] == 0, u'[0] == 1},
      u, {t, 0, \[Pi]}];
Plot[u[t], {t, 0, Pi}]

Bobby

On Thu, 13 Sep 2007 05:24:28 -0500, john boy <johnboy98105 at yahoo.com>  
wrote:

> {{y -> InterpolatingFunction[{{0., 200.}}, <>]}}
> {{x -> InterpolatingFunction[{{1, 41}}, <>]}}
>
> ParametricPlot[{y[t], x[t]}, {t, 0, 200}]
>
> This brings back errors like
>
> ParametricPlot::pptr: {y[t], x[t]} does not evaluate
> to a pair of real numbers at t =
> 8.333333333333334`*^-6.
>
>
>
> --- Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
> wrote:
>
>> john wrote:
>>
>> <snip>
>>
>> > ParametricPlot[y[t], x[t], {t, 0, 200}]
>> >
>> > generates
>> >
>> > ParametricPlot::pllim: Range specification x[t] is
>> not of the form {x,
>> > xmin, xmax}
>>
>> The first parameter of *ParametricPlot* must be a
>> /list/ of functions.
>>
>> ParametricPlot[{y[t], x[t]}, {t, 0, 200}]
>>
>> <snip>
>>
>> --
>> Jean-Marc
>>
>
>
>
> ______________________________________________________________________ ______________
> Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's  
> updated for today's economy) at Yahoo! Games.
> http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
>
>



-- 

DrMajorBob at bigfoot.com


  • Prev by Date: Re: How to invert a function
  • Next by Date: RE: Problem with FrameTicks and BarLabels
  • Previous by thread: Re: help plot log[f[t]] vs a parameter using an ODE
  • Next by thread: Re: help plot log[f[t]] vs a parameter using an ODE