Date: Jul 11, 2011 6:21 AM
Author: Iván Lazaro
Subject: Re: Incredible slow Plot
Hi!

Yes, I tried

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

Plot[Evaluate[f[t]/.sol],{t,0,1200}],

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]];

Plot[Evaluate[f[t]/.sol],{t,0,1200}],

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]]

Plot[{a[t],b[t]}],{t,0,1200}],

and that was it. However I don't understand this. Was the problem the

"size" and "amount" of interpolated functions?