I’m trying to to show where one set of values have NaN’s on the contour plot of another set of values. I do this by creating a mask as such:
fld = randn(4,4)
fld[:2,:2] = np.nan
mask[mask==0] = np.nan
The problem is that the mask patch doesn’t cover the empty space in the fld contour. Is there any way to make this happen?
My ultimate goal is something like this:
fld2 = randn(4,4)
to present where fld has NaN’s on the fld2 plot.
Many thanks in advance!
“If you have a garden and a Library, You have everything you need.” -Cicero
Associate Research Scholar
Department of Geosciences
113 Guyot Hall
Princeton, NJ 08544-1003
AIM, Skype, gTalk: brorfred