PDA

View Full Version : Mathematica: Animated plot sphere as function of time


hasidim
Oct3-10, 01:22 PM
Hi all,

Kinda new to Mathematica.

I have evaluated a function describing a sphere's (or just circle for simplicity) radius over time. I have made a Table of values for the radius over a given time interval, and am able to plot the radius vs time.

How can I make an animated 3D plot of the sphere as it oscillates over time?

Thanks in advance!

phyzguy
Oct3-10, 02:39 PM
Here's an example with a circle:

Animate[Graphics[Circle[{0, 0}, Sin[t]^2],
PlotRange -> {{-2, 2}, {-2, 2}}], {t, 0, 4 \[Pi]}]