Re: Slow Plot
- To: mathgroup@smc.vnet.net
- Subject: [mg11381] Re: [mg11353] Slow Plot
- From: Levasseur <levasseu@bit-net.com>
- Date: Sun, 8 Mar 1998 20:13:00 -0500
- References: <199803070706.CAA28376@smc.vnet.net.>
Fred Lang wrote: > > Dear MathGroup users, > I've a little problem: > For pedagogical reasons, I try to plot a Curve slowly. > I tried something like > > In[1] = f[x_] := ( Pause[0.1] ; Sin[x] ) > > In[2] = Plot[ Evaluate[f[x]] , {x,-Pi, Pi } ] ; > > But the plot is too fast, the Pause has no Effects on the Plot. > > Any Idea? > > Thank you > > Fred Lang Fred: Here's one way to do it, using animation n=8; (* choose n to balance memory usage vs. quality *) Map[Plot[Sin[x],{x,0,#},PlotRange->{{-Pi,Pi},{-1,1}}]&,{-Pi,Pi,2Pi/n}] In your attempt, the pause was only effecting the building of the final graph, not its display Ken Levasseur http://www.wolfram.com/training/companies/levasseur.html
- References:
- Slow Plot
- From: lang@einev.ch (Fred Lang)
- Slow Plot