Re: Plot to Plot3D problem

*To*: mathgroup at smc.vnet.net*Subject*: [mg83481] Re: Plot to Plot3D problem*From*: Peter Pein <petsie at dordos.net>*Date*: Wed, 21 Nov 2007 02:57:12 -0500 (EST)*References*: <fhp603$3bm$1@smc.vnet.net> <fhrr1t$535$1@smc.vnet.net> <fhu8bt$7lf$1@smc.vnet.net>

Jerry schrieb: ... > One more question please: I see you use the expression > (vo /. sol[10^lrf])[t] in Plot3D > I've seen something like this before but I have no clue what > that extra [t] means. If I remove the [t] I get the same > error messages and a plot frame but with no plot in it. So > apparently it's something special for Plot3D? It's not > needed at all in Plot. I've never found any useful > explanation of [] in the Help. > ... > Peter Pein wrote: ... >> sol[rf_] := First@NDSolve[eqs /. Rf -> rf, vo, {t, -10, 5}] ... Well, NDSolve solves for the _function_ vo, not for the _value_ vo[t]. Thus vo/.sol[..] gives a function and (vo/.sol[])[t] is this function applied to t. Peter