Re: [Matplotlib-users] Data plotting in a wrong place

2014-06-26 Thread billyi
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 a

[Matplotlib-users] Data plotting in a wrong place

2014-06-26 Thread billyi
Hi all! I'm trying to plot some sea ice freeboard data (netCDF, Gridded total freeboard) on the Antarctic sea, but the data that should plot nicely around Antarctica lies at the bottom of my image. NetCDF and matplotlib are fairly new to me so I'm not quite sure, where the error could be and I feel