Group Abstract Group Abstract

Message Boards Message Boards

Using Animate Without Showing Variable Slider

GROUPS:
I'd like the animate command to simply animate graphics, without attaching a slider at the top of the graphic

Is there any way to do this, perhaps with another command...?
POSTED BY: Lucas Morales
Answer
10 months ago
You mean you want the other elements to show but not the slider?  Other than this trick, I am not sure at this moment. This still shows the top of the slider, but not the slider itself. Not a perfect solution....
Animate[Plot[Sin[a t], {t, -Pi, Pi}], {a, .1, 1, .1, Appearance -> Large, ImageSize -> 0}]



It is of course possible to make the whole thing using Dynamics directly. But Animate allready does all this work for us.
POSTED BY: Nasser
Answer
10 months ago
Try this:
Animate[Plot[Sin[x + a], {x, 0, 10}], {{a, 0, ""}, 0, 5, AppearanceElements -> None}]



or this with some controls but no slider
Manipulate[Plot[Sin[x + a], {x, 0, 10}], {{a, 0, ""}, 0, 5, Trigger}]

POSTED BY: Sam Carrettie
Answer
10 months ago
Thanks Sam, that's just the kind of thing I was looking for!
POSTED BY: Lucas Morales
Answer
10 months ago