In general, when we do scientific calculations, the first thing to think of is MATLAB, but, the thought of the MATLAB installation package so big, I have a little to say what.
Matplotlib is Python's most famous drawing library, which provides a complete set of command APIs similar to those of MATLAB, and is ideal for interactive
For mapping. Matplotlib installation can be found in the website link http://matplotlib.org/users/installing.html
The installation process is generally referred to http://blog.csdn.net/daniel_ustc/article/details/9714163 this blog post, thanks to the next blogger.
Summarized as follows:
1. Download the installation matplotlib, and note that you want to match your Python version.
2. Install NumPy,
Perform:
Import Matplotlib.pyplot as Pltplt.plot ([+]) Plt.ylabel ('matplotlib Test') ) plt.show ()
When you execute an import error, you install the dependent library.
3. Install dependent Library: All dependent libraries are installed with EXE's next exe, without EXE, after extracting the Python setup.py install.
Import Six
Importerror:no module named six
Six libraries:: https://pypi.python.org/simple/six/or https://pypi.python.org/pypi/six/#downloads
Raise Importerror ("Matplotlib requires Dateutil")
Importerror:matplotlib requires Dateutil
dateutil:https://pypi.python.org/simple/python-dateutil/
Install dateutil before installing setuptools,:https://pypi.python.org/simple/setuptools/
Raise Importerror ("Matplotlib requires pyparsing")
Importerror:matplotlib requires pyparsing
: https://pypi.python.org/simple/pyparsing
The installation process is missing any library can go to https://pypi.python.org/simple/find, or http://www.lfd.uci.edu/~gohlke/pythonlibs/
Once the installation is complete, run the example above,
Import Matplotlib.pyplot as Pltplt.plot ([+]) Plt.ylabel ('matplotlib Test') ) plt.show ()
Then you will see:
Matplotlib Tutorial The http://reverland.org/python/2012/09/07/matplotlib-tutorial/of Chinese translation.
Make scientific calculations with Python http://sebug.net/paper/books/scipydoc/index.html
Python matplotlib Drawing Library Installation