How to draw an arrow with matplotlib and python
very easy, but I had to change the width setting so the arrow head would
not be too small. Further documentation is here:
http://matplotlib.sourceforge.net/matplotlib.pylab.html#-arrow
""" arrow_ex.py
"""
from pylab import *
figure()
axes()
arrow(.1,.1,.2,.2, width=0.01)
show()
Related posts
- Creating a histogram plot with python — posted 2011-12-08
- How to draw a simple line using python and the matplotlib API - — posted 2007-01-05
- How to use the pylab API vs. the matplotlib API — posted 2007-01-04
- How to create some derived arrow classes with matplotlib and python — posted 2007-01-03
- Example pie charts using python and matplotlib — posted 2006-12-19