+ one on this issue. One of the big advantages of the nxutils points in poly is
that you could pass it a large numpy array of points and get back a mask. We
found this to be significantly faster than using looping through the single
point in poly algorithms from packages like shapely. Echoing
Dharhas Pothina, Ph.D., P.E.
Team Lead - Data, Analysis and Modeling
Surface Water Resources Division
Texas Water Development Board
1700 North Congress Ave.
P.O. Box 13231
Austin, TX 78711-3231
Tel: (512) 936-0818
Fax: (512) 936-0816
dharhas.poth...@twdb.state.tx.us
www.twdb.state.tx.us
Hi All,
I'm assuming this is possible and common but I'm not finding the correct
combination of search terms to find any examples on the mailing list or online
on how to do this.
I'd like to display the y-axis tick labels in the 'comma' notation i.e.
234004 = 234,004
1237689 = 1,237,689
etc
Just got Goekhan's message, try a combination of both, might be worth.
a little inelegant but I got it working by combining both ideas:
def thousands(x, pos):
'The two args are the value and tick position'
xnew = moneyfmt(Decimal(x.__str__()))
return xnew
where moneyfmt is the
There's no way around the ``Decimal``? Otherwise I cannot confirm the
inelegancyness except this construct ;-)
the moneyfmt routine I downloaded requires the Decimal package (i.e
decimal.Decimal). I didn't have time to try writing my own version. It has a
bug that if you specify number of
Contour fixes and and triplot:
Additionally, he has contributed a new module matplotlib.tri and
helper function triplot for creating and plotting unstructured
triangular grids. See
http://matplotlib.sf.net/api/pyplot_api.html#matplotlib.pyplot.triplot
for the function and
6/8/2010 12:56 PM
Then I haven't a clue. Maybe someone else has some insight?
Ben Root
On Mon, Jun 7, 2010 at 4:10 PM, Dharhas Pothina
dharhas.poth...@twdb.state.tx.us wrote:
Ben,
The matplotlib on the other working machine is using python 2.6.4. On this
machine I am using python 2.6.5
Hi,
I have Python 2.6 installed on RHEL5 (and Numpy 1.4.1) and am trying to install
matplotlib. Installation occurs without any error messages although I do get a
bunch of warnings at the end.
/usr/bin/ld: skipping incompatible /usr/lib/libtk8.4.so when searching for
-ltk8.4
/usr/bin/ld:
Dharhas,
Is it possible to find out which version of python was installed for your
other RHEL5 machine? I don't know if that makes a difference or not, but
RHEL5 by default uses Python 2.4.
Ben Root
On Mon, Jun 7, 2010 at 1:48 PM, Dharhas Pothina
dharhas.poth...@twdb.state.tx.us wrote:
Hi,
I