Matplotlib: Difference between revisions
Jump to navigation
Jump to search
Created page with '== Install == For Ubuntu: <pre> sudo apt-get install python-matplotlib </pre> Otherwise, read this: http://matplotlib.sourceforge.net/users/installing.html == Basic Example == …' |
No edit summary |
||
| Line 1: | Line 1: | ||
{{lowercase title}} | |||
== Install == | == Install == | ||
For Ubuntu: | For Ubuntu: | ||
Latest revision as of 22:43, 4 August 2011
Install
For Ubuntu:
sudo apt-get install python-matplotlib
Otherwise, read this: http://matplotlib.sourceforge.net/users/installing.html
Basic Example
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
See the tutorial here: http://matplotlib.sourceforge.net/users/pyplot_tutorial.html