How to draw points of a curve
John Hunter
jdhunter at ace.bsd.uchicago.edu
Fri Jun 25 10:21:22 EDT 2004
>>>>> "dimfox" == dimfox <lwliuwei at gmail.com> writes:
dimfox> Hi, I am new to Python. What I need to do is to calculate
dimfox> a curve and display it at the same time. I don't want to
dimfox> use the gplt.plot() because I need to show the animation
dimfox> of the curving growing.
dimfox> Which package should I use? Which function?
matplotlib (http://matplotlib.sf.net) has several examples showing how
to do animation. See anim.py, anim_tk.py, system_monitor.py,
dynamic_demo.py, dynamic_demo_wx.py in
http://matplotlib.sf.net/examples.
They aren't blindingly fast, but they work.
If you need blindingly fast, you don't have a lot of great options
(yet). See the recent thread
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&frame=right&th=5fc76e588e95c4e9&seekm=mailman.464.1084377353.25742.python-list%40python.org#link1
John Hunter
More information about the Python-list
mailing list