From: Simson G. <si...@ac...> - 2006-11-09 23:18:35
|
I'm new to matplotlib; I was using PyX but matplotlib seems further developed for what I want to do. One of the problems that I'm having is simply getting started. I've discovered that there are a whole bunch of dependencies that weren't obvious in the manual: * You need PyNum (documented) * You need wxPython (not documented that I've found) Nevertheless, I'm still having problems. The example in the beginning of the manual doesn't work for me; array() is undefined: % python Python 2.4.3 (#1, Mar 30 2006, 11:02:16) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from pylab import * >>> dt = 0.01 >>> t = arrange(0,10,dt) Traceback (most recent call last): File "<stdin>", line 1, in ? NameError: name 'arrange' is not defined >>> I'm using a MacOS machine running 10.4. Any suggestions? |