Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

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



  • Prev by Date: Re: Problem with strings and backslashes
  • Next by Date: Assign new values to matrix using indices
  • Previous by thread: Re: Manipulate, Opacity, slow down
  • Next by thread: Re: Manipulate, Opacity, slow down