MathGroup Archive 2008

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

Search the Archive

RE: Behavior of Manipulate

  • To: mathgroup at
  • Subject: [mg85628] RE: [mg85619] Behavior of Manipulate
  • From: ?iso-8859-2?Q?=A9er=FDch_Jakub?= <Serych at>
  • Date: Sat, 16 Feb 2008 03:27:57 -0500 (EST)

I also encountered this behaviour of Manipulate in my notebooks. I think,
that problem of Manipulate is, that it immediatelly interrupts calculations
whenever any of the manipulators is changed and than it starts over from the
begining and this can have critical impacts in some cases. That's why it is
working nicely if the calculations are sufficiently short and idle times of
Manipulate long, as the probability, that you change the manipulator during
the calculations is small.

But if the calculation inside Manipulate lasts too long the probability of
change of some control during it is much bigger. Setting ContinuousAction ->
False may help little bit as the value of the control is updated only after
the mouse button is released and not continualy during of any manipulator

But IMHO it would be nice if there is some option for noninterruptable runs
in Manipulate i.e. something like:

NonInterruptable -> 2000
 - which would mean: let the calculation inside Manipulate run without
interrupting if it lasts less then 2000 miliseconds.     


> -----Original Message-----
> From: Steve Gray [mailto:stevebg at]
> Sent: Friday, February 15, 2008 12:51 PM
> To: mathgroup at
> Subject: [mg85619] Behavior of Manipulate
> My Manipulate loop is pretty slow, on the order of a second.
> Output is some tables of numbers and a fairly simple
> Graphics3D. Speed is tolerable and isn't the problem.
> Manipulate basically works in my app but the behavior is irregular:
> Sometimes when I change one of the 6 control sliders, nothing happens.
> Sometimes when I change one I get new table values in a
> separate window with a pink background. Sometimes I get new
> table values in the window Manipulate is in. Sometimes I have
> to change one of the sliders by a lot to get any action.
> The Help info is considerable but I see nothing that bears on this.
> Any tips will be appreciated.
> Steve Gray

  • Prev by Date: rendering problem
  • Next by Date: Sub-division of surface plotting by PlotPoints->{m,n}
  • Previous by thread: Behavior of Manipulate
  • Next by thread: Archimedes' Spiral