[Matplotlib-users] matplotlib.nxutils.pnpoly returns True for some vertexes, and False for others

2013-01-29 Thread Maria Liukis
Hello, I tested the following code on my Mac laptop and our production Linux server both running matplotlib V1.0.1. Both machines observe the same output from the code, so I was wondering if somebody is aware of the problem or if it's some undocumented feature of pnpoly() function from

Re: [Matplotlib-users] matplotlib.nxutils.pnpoly returns True for some vertexes, and False for others

2013-01-30 Thread Maria Liukis
Ben, Many thanks! Will try to use shapely package then. Masha liu...@usc.edu On Jan 30, 2013, at 6:59 AM, Benjamin Root wrote: On Tue, Jan 29, 2013 at 5:55 PM, Maria Liukis liu...@usc.edu wrote: Hello, I tested the following code on my Mac laptop and our

[Matplotlib-users] fancy border for basemap's map?

2014-11-06 Thread Maria Liukis
Hello, I was wondering if there is an option in basemap to put “fancy“ (white and black skinny rectangles) map border like the one is available in GMT? Many thanks, Masha -- liu...@usc.edu --

[Matplotlib-users] How to plot other than rectangular grid?

2014-11-20 Thread Maria Liukis
Hello, I have a problem plotting data which is defined on a grid other than rectangular mesh, and would greatly appreciate any advise. My data is defined for 0.1degree grid for the state of California, and I don’t want to interpolate my data outside of the defined grid when plotting it. I used

Re: [Matplotlib-users] How to plot other than rectangular grid?

2014-11-21 Thread Maria Liukis
interpolation. — Sent from Mailboxhttps://www.dropbox.com/mailbox On Fri, Nov 21, 2014 at 2:12 AM, Maria Liukis liu...@usc.edumailto:liu...@usc.edu wrote: Hello, I have a problem plotting data which is defined on a grid other than rectangular mesh, and would greatly appreciate any advise

Re: [Matplotlib-users] How to plot other than rectangular grid?

2014-11-21 Thread Maria Liukis
/20, 7:11 PM, Maria Liukis wrote: Hello, I have a problem plotting data which is defined on a grid other than rectangular mesh, and would greatly appreciate any advise. My data is defined for 0.1degree grid for the state of California, and I don’t want to interpolate my data outside

Re: [Matplotlib-users] How to plot other than rectangular grid?

2014-11-21 Thread Maria Liukis
cells past the state boundary are you seeing? If it is never more than one cell past the boundary, it might be an offset issue. On Fri, Nov 21, 2014 at 1:30 PM, Maria Liukis liu...@usc.edumailto:liu...@usc.edu wrote: Eric, Yes, my data is exactly how you understood it. I thought, as you