Yeates, Mathew C (388D) wrote: > Hi > > I would expect > > hgt=ma.masked_where(div == 0,hgt) > > m.contourf(x,y,hgt,15,cmap=plt.cm.jet) > > > > to produce a map complementary to the map produced by > > > > hgt=ma.masked_where(div != 0,hgt) > > m.contourf(x,y,hgt,15,cmap=plt.cm.jet) > > > > But, this is not the case. > > What am I missing?
Basemap contourf calls mpl contourf, and mpl contourf leaves a grid box empty if any of its corners is masked. Does this account for what you are seeing? Eric ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users