how to solve it?

Michael Poeltl michael.poeltl at univie.ac.at
Mon Aug 1 06:59:07 EDT 2011


* 守株待兔 <1248283536 at qq.com> [2011-08-01 06:22]:
> from matplotlib.matlab import *
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named matlab

does this work?
>>> import matplotlib

next check 'gallery' at
http://matplotlib.sourceforge.net/index.html

choose the graph (click it) you need, and there you can browse the
source-code (python-code)

this is maybe the best starting-point, I guess.

cheers
Michael
-- 
Michael Poeltl
Computational Materials Physics      voice: +43-1-4277-51409
Univ. Wien, Sensengasse 8/12         fax:   +43-1-4277-9514 (or 9513) 
A-1090 Wien, AUSTRIA   cmp.mpi.univie.ac.at 
--------------------------------------------------------------------------------
slackware-12.2/ubuntu-10.10 | vim-7.3 | python-3.2.1 | mutt-1.5.18 | elinks-0.12
--------------------------------------------------------------------------------



More information about the Python-list mailing list