Hi,

I am trying to plot an image using basemap and overlay another image plotted
as a contour and I am a bit stuck.

e.g.

I have a small image of the world for example (10.5-13.5N, 1.5-3.5E, regular
lat long grid). And I saw what was posted previously
here...http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg01961.html
but I am still stuck.

I plot my original image...

im = m.imshow(image, norm=norm, interpolation='nearest', cmap=colour_map)

then I tried to build the info for the contour plot

delta = 0.03
x = np.arange(1.5, 3.5, delta)    
y = np.arange(10.5, 13.5, delta)
X, Y = np.meshgrid(x, y)
m.contour(image2, X, Y, color='black')

plt.show()

but that only plots the first image? The images arrays are identically sized
and of the same area, is there a way to grab the grid from the first plot
perhaps?

No idea what I am doing wrong.

Many thanks,

Martin
-- 
View this message in context: 
http://old.nabble.com/Basemap-%2B-contour-layer--tp29235080p29235080.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to