plotting arrow in python

Lie Ryan lie.1296 at
Sun Nov 22 02:36:01 CET 2009

rudra wrote:
> Dear friends,
> I am very new in python. Actually, I think I will not do much python
> then using it to plotting data. I have not done any "real" thing in
> python, so plz be easy. Now , the problem
> I have a data set:
> 0.0 0.0 0.1
> 0.0 0.1 0.1
> 0.1 0.0 0.5
> like that! the first two column are coordinate and 3rd one is
> magnitude of moment (say: x y,m)!! so what i want to do is draw an
> arrow of magnitude(m) in the position (x,y).
> I know how python read array, and how to draw an array(via
> matplotlib)...but totally confused with this one.
> can you people plz help?

If you want to stay with regular python distribution, take a look on 
pygame ( ).

If you want to avoid 3rd party modules, take a look at turtle and 
Tkinter in the standard library.

More information about the Python-list mailing list