Permalink
Browse files

Merge pull request #1187 from dmcdougall/arrow_example

Add a *simple* arrow example
  • Loading branch information...
mdboom committed Sep 5, 2012
2 parents b5eb1d0 + a93a9e3 commit 61bdcc39e8be2f9d8bdf086a8960351a09188765
Showing with 5 additions and 0 deletions.
  1. +5 −0 examples/pylab_examples/arrow_simple_demo.py
@@ -0,0 +1,5 @@
+import matplotlib.pyplot as plt
+
+ax = plt.axes()
+ax.arrow(0, 0, 0.5, 0.5, head_width=0.05, head_length=0.1, fc='k', ec='k')
+plt.show()

0 comments on commit 61bdcc3

Please sign in to comment.