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

produces?

I have uploaded a plot done with my code to the
following address:
http://www.iaa.csic.es/~jsm/matplotlib/lfir-lradio.png

Pepe.

···

______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m�viles desde 1 c�ntimo por minuto.
http://es.voice.yahoo.com

Pepe SM wrote:

I have uploaded a plot done with my code to the
following address:
http://www.iaa.csic.es/~jsm/matplotlib/lfir-lradio.png

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.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
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

Chris.Barker@...236...