Re: Manipulate, Opacity, slow down
- To: mathgroup at smc.vnet.net
- Subject: [mg99752] Re: Manipulate, Opacity, slow down
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Wed, 13 May 2009 05:07:44 -0400 (EDT)
- References: <gubgcj$9t3$1@smc.vnet.net>
Janos,
I don't see much difference between
Manipulate[
ParametricPlot[{Sin[a u], Cos[ u/a]}, {u, 0, 4 Pi}], {a, 1, 5}]
and
f[a_] := ParametricPlot[{Sin[a u], Cos[ u/a]}, {u, 0, 4 Pi}]
Manipulate[f[a], {a, 1, 5}]
What is it precisely you did?
Cheers -- Sjoerd
On May 12, 11:43 am, janos <janostothmeis... at gmail.com> wrote:
> I wonder if you can give me some hints without a code.
> I have a program using Manipulate[ParametricPlot[f[a]]].
> 1. If I define outside the function f used in ParametricPlot, and then
> insert the function name into ParametricPlot, then the program slows
> down extremely compared to the version when the formula of the
> function is inserted.
> 2. If I add Opacity to the Directives, again the timing increases
> tremendously.
>
> If you think you could help seeing the (long) code I'll be ready to
> show it.
>
> Thank you,
>
> J=E1nos