[Matplotlib-users] using contourf to plot masked array

2011-02-21 Thread Zhaoru Zhang
Hi, I tried to use contourf to plot an array in which the land values have been masked. However, I found that contourf did not deal with the masking properly. I would expect the masked region to be bounded by the separation line of land and sea, but it actually exceeds that line. I also

[Matplotlib-users] cannot print out .eps figures

2011-03-01 Thread Zhaoru Zhang
Hi, I created an eps figure file with matplotlib. I can look at it via mac preview, but when I inserted it into a word document and printed it out, I got nothing except for the eps file information. So what's the problem? Here are all the packages I used in the python code. Does any of them