|
From: Benjamin R. <ben...@ou...> - 2012-09-04 19:56:50
|
On Fri, Aug 24, 2012 at 12:21 PM, John Bluee <b7...@gm...> wrote: > I have lat and lon as coordinates and to each point a value. So far I use > contourf to plot. > > Sorry for not getting back to you sooner. May I suggest the following: values = np.ma.masked_outside(values, -1e-8, 1e-9, copy=False) values = np.ma.masked_inside(values, -1e-14, 1e14, copy=False) And then contourf the masked values array. Any places where the values are masked will be blank. I hope this helps! Ben Root |