Install matplotlib into Window

18 04 2011

matplotlib is a excellent tool for plotting chart. It is very easily to install into window environment. I am using python 2.6 in Window 7.

1) Download numpy

http://sourceforge.net/projects/numpy/files/NumPy/1.5.1/

binary: numpy-1.5.1-win32-superpack-python2.6.exe

2) Download matplotlib 1.0.1

http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/

matplotlib-1.0.1.win32-py2.6.exe

3) Installation
Execute: numpy-1.5.1-win32-superpack-python2.6.exe
Execute: matplotlib-1.0.1.win32-py2.6.exe

4) Testing
start python console and typo in following:
from pylab import *
plot(range(10))
show()

then you should see a new window with a line chart like this:





codepad – pastebin to run code

6 03 2008

Nowadays, there are many languages available for us. Also, a lot of discussion on which one is better. Frankly speaking, do you ever try out all of them? I tried python (and I like it) but not those LISP akin Scheme, Haskell.

In planetpython.org, I spot a new site named codepad. It allows you to select the programming language, type in your code and click “run” button. Your code will be run and display the result in next page, in pretty format, cool.

Author aware the potential security issues. He has firewall and using VM to restore periodically. It is really well done.
One more thing, this site is written by python.








Follow

Get every new post delivered to your Inbox.