[Tutor] Overlay Quiver Plot on Contours

Alan Gauld alan.gauld at btinternet.com
Tue Jan 27 02:29:44 CET 2015


On 26/01/15 23:24, Felisha Lawrence wrote:
> Hello,
> I have the following script:
>
> import netCDF4
> import numpy as np
> import matplotlib.pyplot as plt
> import pylab
...
> and I am getting this error:
>
> TypeError: You must first set_array for mappable
>
> Can anyone provide guidance on how you overlay quiver plots on top of
> contours?

This list is for newcomers to Python and its standard
library. This looks like a fairly specific SciPy/Numpy,
and especially matplotlib type question.

You would probably be better off asking on the SciPy
forums/lists.

HTH
-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list