Sam Smith is having trouble posting to the list, so I'm posting this

form him

## ···

From: "Samuel M. Smith" <smithsm@...755...>

Date: 04 October, 2005 22:52:57 MDT

To: matplotlib-users@lists.sourceforge.net

Cc: "Samuel M. Smith" <smithsm@...755...>

Subject: Plotting vectors (arrows) on a manifold

I need to plot vectors along a manifold (curve). The quiver plot

AFAI can tell only plots arrows on a grid not just

along a curve. In general I need a scatter plot where each plotted

point is a vector. where (x,y) is the base of vector

and (u,v) is the vector. The plot could take in arrays X Y U V

where as in the quiver plot X Y U V are matrices.

Anyone have any suggestions how I might go about generating such a

plot even if I have to do it by repurposing something else.

In general how would I position an arbitrary arrow somewhere on a

plot?

I suppose I could brute force it by superimposing 3 line plots for

each arrow where each plot draws one part of the arrow ( body, left

head, right head). This amounts to a lot of plots. Is there a

better way?

What would also be useful is a combination of a comet plot with an

arrow pointing in the direction the comet is moving.

This would be great for animation.

**********************************************************************

Samuel M. Smith Ph.D.

2966 Fort Hill Road

Eagle Mountain, Utah 84043

801-768-2768 voice

801-768-2769 fax

**********************************************************************

"The greatest source of failure and unhappiness in the world is

giving up what we want most for what we want at the moment"

**********************************************************************