Re: [Matplotlib-users] strange behavior using a mask with Basemap

2010-03-28 Thread Eric Firing
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) > >

[Matplotlib-users] strange behavior using a mask with Basemap

2010-03-25 Thread Yeates, Mathew C (388D)
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? Mathew