Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2011

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

Search the Archive

Re: Incredible slow Plot

  • To: mathgroup at
  • Subject: [mg120174] Re: Incredible slow Plot
  • From: Iván Lazaro <gaminster at>
  • Date: Mon, 11 Jul 2011 06:58:03 -0400 (EDT)
  • References: <iv9etb$dg1$>


Yes, I tried

 sol=NDSolve[{eqns, cond},f,{t,0,1200}][[1]];

but that was a pain. Thanks to Bobby I managed to solve my speed problem:

Instead of

sol=NDSolve[{eqns, cond},f,{t,0,1200}][[1]];

I selected the specific solutions I needed, and Set them to a variable
that then I plot:

sol=NDSolve[{eqns, cond},f,{t,0,1200}][[1]];
a=sol[[1, Something, 2]]
b=sol[[1, Something+1, 2]]


and that was it. However I don't understand this. Was the problem the
"size" and "amount" of interpolated functions?

  • Prev by Date: Re: Search and replace variable name with subscript
  • Next by Date: Re: sequence of functions
  • Previous by thread: Re: Incredible slow Plot
  • Next by thread: Re: Incredible slow Plot