Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11959 > unrolled thread
| Started by | psudharaka@gmail.com |
|---|---|
| First post | 2012-10-05 06:44 +0000 |
| Last post | 2012-10-05 06:44 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Animations in Graphs psudharaka@gmail.com - 2012-10-05 06:44 +0000
| From | psudharaka@gmail.com |
|---|---|
| Date | 2012-10-05 06:44 +0000 |
| Subject | Animations in Graphs |
| Message-ID | <k4lvk7$d43$1@smc.vnet.net> |
Hi everyone,
I produced the following graph but it wont animate.
MyR = Table[r, {r, 0, 1, .1}];
u[\[Theta]_] = 1/(2*Pi)*((1 - r^2)/(1 - 2*r*Cos[\[Theta]] + r^2));
Plot[u[MyR, \[Theta]], {\[Theta], -Pi/2, Pi/2},
PlotRange -> {0, 3.25}, PlotStyle -> {Red}, AspectRatio -> 2/3]
This following code doesn't produce any errors or Mathematica complaining but nothing happens when I hit play.
Animate[Plot[u[\[Theta]], {\[Theta], -Pi/2, Pi/2}, PlotRange -> {0, 3.25}, GridLines -> Automatic, Frame -> True, PlotStyle -> {Thick, Red}], {r, 0, 1, 0.1}, AnimationRunning -> False]
Thank you and your help is much appreciated.
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web