[EMAIL PROTECTED] wrote:
>> Shu: I'd make a mask by finding the points on the grid that are outside
>> your polygon. Then use that mask to create a masked array from your
>> data (masking the points you don't want to plot). matplotlib's contourf
>> knows how to deal with masked arrays (at lea
> Shu: I'd make a mask by finding the points on the grid that are outside
> your polygon. Then use that mask to create a masked array from your
> data (masking the points you don't want to plot). matplotlib's contourf
> knows how to deal with masked arrays (at least when the masked region
>
> How is the irregular boundary defined? Is it defined in terms of the
> data you are plotting (i.e. all values exceeding a threshold)? Or, do
> you have the vertices of a polygon you want to use as a mask?
>
> -Jeff
Jeff,
thanks for answering my question. I have the vertices of a polygon
[EMAIL PROTECTED] wrote:
> hi,everybody.first say sorry for my poor english.
> I want to make a contour plot with part out of the irregular boundary
> blank.just as http://www.pyngl.ucar.edu/Examples/Images/ngl05p.3.png
> shows.
> how can i do?
>
>
How is the irregular boundary defined? Is it d
hi,everybody.first say sorry for my poor english.This is my first email
to matplotlib user list.
I want to make a contour plot with part out of the irregular boundary
blank.just as http://www.pyngl.ucar.edu/Examples/Images/ngl05p.3.png
shows.
how can i do?
--
<>
--
hi,everybody.first say sorry for my poor english.
I want to make a contour plot with part out of the irregular boundary
blank.just as http://www.pyngl.ucar.edu/Examples/Images/ngl05p.3.png
shows.
how can i do?
--
<>
-
Tak