Re: [Matplotlib-users] basemap: Mask the ocean [SEC=UNCLASSIFIED]

2009-11-03 Thread Ross.Wilson
-Original Message- From: Jeff Whitaker [mailto:jsw...@fastmail.fm] Sent: Tuesday, 3 November 2009 02:53 To: Stephane Raynaud Cc: Wilson Ross; matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] basemap: Mask the ocean [SEC=UNCLASSIFIED] Stephane Raynaud wrote: > Ross,

[Matplotlib-users] basemap: Mask the ocean [SEC=UNCLASSIFIED]

2009-11-01 Thread Ross.Wilson
Listers, I'm using basemap to plot randomly sampled values (x,y,z) through hexbin. This produces a very nice result. Some sample code is: -- import numpy as np from numpy.random import seed import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap from matplotlib.mlab impo

Re: [Matplotlib-users] drawmapscale() and 'cyl' projection [SEC=UNCLASSIFIED]

2009-10-29 Thread Ross.Wilson
-Original Message- > Maybe I'm just extra ignorant today, but why *shouldn't* a scale be drawn on > a 'cyl' projection > Ross: Because a cylindrical projection isn't really a projection at all - it's just a lat/lon coordinate system. -Jeff -Original Message- Hi Jeff, Ye

[Matplotlib-users] drawmapscale() and 'cyl' projection [SEC=UNCLASSIFIED]

2009-10-28 Thread Ross.Wilson
Hi all, Sorry if this has been discussed before, but I can't find any previous threads on this. I'm trying to draw a scale on an equidistant cylindrical projection, and I'm seeing a ValueError exception with the message: Cannot draw map scale for projection='cyl' And indeed, in basemap/__i

[Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2009-10-07 Thread Ross.Wilson
Hi Listers, I recently installed matplotlib 0.99.1 hoping to use mplot3d. However, when doing 'from mpl_toolkits.mplot3d import Axes3D' python itself crashes. Reinstalling matplotlib 0.98.5 gets everything working fine, without mplot3d, of course. I am running Windows XP, python 2.5.2 and nu