Plotting arrows

Hello Chris,

El Jueves, 27 de Abril de 2006 02:10, Christopher
Barker escribi�:

You might want to do something with a LineCollection

instead. TRy the

enclosed code. Is that what you are looking for?

Yes, it is fine.

I intend, some day, to clean this up and submit it

to MPL, but in the

meantime, feel free to use or hack on it.

By the way, do you have a sample of what your code


I have uploaded a plot done with my code to the
following address:



LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m�viles desde 1 c�ntimo por minuto.

Pepe SM wrote:

I have uploaded a plot done with my code to the
following address:

Thanks. It looks like your approach provides a subset of what mine does, with probably the benefit of better performance. Am I correct that for a given series, the markers are all the same, that is, they all point in the same direction and are the same length?

With my code, each data point gets a different direction (though they are all the same length -- maybe I should change that). You could set them to be all the same to get similar results to your approach.

This brings up another question: Could you have created a custom marker without having to patch the code, but rather using the existing API? If not, that would be a good feature to add.



Christopher Barker, Ph.D.
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception