arrows in contour lines?

Hi all,

I'd like to make a countour plot just like in

http://matplotlib.sourceforge.net/examples/pylab_examples/contour_demo.html

but instead of text at the contour lines I'd like to have arrows in
the in the direction of the contour lines. Does anyone know if that's
possible.

Cheers,
Nico

Hi Nico,

if you know the gradient of your data, I think an overlay with a 'quiver'
might be useful, but I never tried this.
(http://matplotlib.sourceforge.net/examples/pylab_examples/quiver_demo.html)

Kind regards,
Matthias

···

On Thursday 25 February 2010 19:55:22 Nico Schlömer wrote:

Hi all,

I'd like to make a countour plot just like in

http://matplotlib.sourceforge.net/examples/pylab_examples/contour_demo.html

but instead of text at the contour lines I'd like to have arrows in
the in the direction of the contour lines. Does anyone know if that's
possible.

Cheers,
Nico