2
$\begingroup$

I was trying to set the speed of the Manipulate play button, following this question. Namely, I wanted to specify the option AnimationRate when I have two or more slider controls.

However, it seems this is not a valid option anymore (I am using version 9), i.e. this does not work:

Manipulate[ (*do stuff*) , {x, 0, 1}, {y, 0, 1}, AnimationRate-> value]

as AnimationRate shows up red. Is there a workaround?

$\endgroup$
  • $\begingroup$ Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$ – Michael E2 Jun 17 '16 at 18:22
  • 1
    $\begingroup$ Your syntax is not as shown in the earlier question. AnimationRate is not an option of Manipulate but it is a controller option. I think you have to specify it twice. $\endgroup$ – Mr.Wizard Jun 17 '16 at 18:23
  • $\begingroup$ D'oh, you're absolutely right. I should have specified it within the controller. Thank you very much. This should be an answer. $\endgroup$ – J-T Jun 17 '16 at 18:25
  • $\begingroup$ You're right, in the end it is just a duplicate; is it ok to delete the question? $\endgroup$ – J-T Jun 18 '16 at 22:30
  • $\begingroup$ No, don't delete (probably can't because of the upvoted answer). @Mr.Wizard might be able to link the two questions, if he agrees. Normally, we vote to mark them as duplicate, but there are more votes to put on hold as a "simple mistake." It may take the intervention of a moderator. $\endgroup$ – Michael E2 Jun 18 '16 at 23:06
2
$\begingroup$

As pointed out by Mr.Wizard, AnimationRate is not an option of Manipulate but of the particular controller. Namely, the correct syntax is:

Manipulate[ (*do stuff*) , {x, 0, 1, AnimationRate-> value}, {y, 0, 1}]

If one aims to control the rate of the slider for x (analogous code for y).

|improve this answer|||||
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.