<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Does this code works for someone else? <div class=""><br class=""></div><div class="">I don’t think "animate=True" is even a valid keyword argument for pyplot.plot. There is an “animated” keyword argument, but I have no idea what it does. I doubt it actually animates anything; to do that I believe you need some kind of for-loop (or animation.FuncAnimation if you want to be fancy). There are lots of matplotlib animation examples. <a href="http://matplotlib.org/examples/animation/basic_example.html" class="">http://matplotlib.org/examples/animation/basic_example.html</a>. If molniya is just a 2xN array, looping over the N values should be straightforward.<div class=""><br class=""></div><div class="">Cheers, Jody<br class=""><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 22, 2016, at 11:06 AM, Samuel Dupree <<a href="mailto:sdupree@computational-astronomer.com" class="">sdupree@computational-astronomer.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<div class="moz-cite-prefix">I can't reduce the example to a point
that demonstrates my problem without the "orbital" module.
However, I've done some deeper digging into the "orbital" module
to find the functions that support the plotting. I've attached
that source file to this note, and if you could point out any
issues you may see dealing with the animate function, I would
appreciate it.<br class="">
<br class="">
Sam Dupree.<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
On 4/22/16 13:48:45, Paul Hobson wrote:<br class="">
</div>
<blockquote cite="mid:CADT3MEDNs6neG8-sRNAEWUhwLti9uV4uE84LQD_5kfAOJZS39g@mail.gmail.com" type="cite" class="">
<div dir="ltr" class="">Can you reduce this problem down to an example that
doesn't involve this "orbital" module? For all we know, the
issue is in there</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Fri, Apr 22, 2016 at 10:41 AM,
Samuel Dupree <span dir="ltr" class=""><<a moz-do-not-send="true" href="mailto:sdupree@computational-astronomer.com" target="_blank" class="">sdupree@computational-astronomer.com</a>></span>
wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000" class="">
<div class="">There are two plots that should output plots showing
a satellite orbiting about the Earth. Instead the plots
are static which they sjouldn't be.<br class="">
<br class="">
Hope this helps.<br class="">
<br class="">
Sam Dupree.
<div class="">
<div class="h5"><br class="">
<br class="">
<br class="">
<br class="">
<br class="">
On 4/22/16 13:37:17, Paul Hobson wrote:<br class="">
</div>
</div>
</div>
<div class="">
<div class="h5">
<blockquote type="cite" class="">
<div dir="ltr" class="">
<div class="gmail_extra">
<div class="gmail_quote">On Fri, Apr 22, 2016 at
10:07 AM, Samuel Dupree <span dir="ltr" class=""><<a moz-do-not-send="true" href="mailto:sdupree@computational-astronomer.com" target="_blank" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:sdupree@computational-astronomer.com">sdupree@computational-astronomer.com</a>></span>
wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">I'm running
matplotlib ver. 1.5.1 in an anaconda
distribution on a MacBook Pro running Mac OS
X ver. 10.11.4 (El Capitan). I'm attempting
to get the animation portion of the example
attached to this note running. I've looked
through the on-line documentation on plot()
and plot3d() but have turned up empty.<br class="">
<br class="">
Any thoughts.<br class="">
<br class="">
Sam Dupree.<br class="">
</blockquote>
<div class=""><br class="">
</div>
<div class="">What specific problems are you
encountering? Does the script halt with some
error messages? If so, what are they?</div>
<div class=""><br class="">
</div>
<div class="">Does the script run, but fails to produce
output?</div>
<div class=""><br class="">
</div>
<div class="">Does the script produce output, but it is
not as expected? </div>
</div>
</div>
</div>
</blockquote>
<br class="">
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br class="">
</div>
<span id="cid:6D026FA3-DE23-4766-96C4-A26DB07CABE6@gv.shawcable.net"><plotting.py.txt></span>_______________________________________________<br class="">Matplotlib-users mailing list<br class=""><a href="mailto:Matplotlib-users@python.org" class="">Matplotlib-users@python.org</a><br class="">https://mail.python.org/mailman/listinfo/matplotlib-users<br class=""></div></blockquote></div><br class=""></div></div></div></body></html>