From: billyi <bil...@ho...> - 2014-06-27 06:15:02
|
Oh my, it WAS the meshgrid! Thank you so much! When reading the coordinates like: lat = FB.variables['lat'][:,:] lon = FB.variables['lon'][:,:] And plotting (without meshgrid!): m.pcolormesh(lon, lat, masked_fb, latlon=True) it works! Now I feel stupid. And I think the longitudes and latitudes are not monotonic, but I don't know the way to check this, other than checking the array like lon[:] in terminal. Is there a better way? And thank you again! Bill Wang -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Data-plotting-in-a-wrong-place-tp43580p43588.html Sent from the matplotlib - users mailing list archive at Nabble.com. |