Hello,
I’m trying to make a plot data on a map with the ‘cyl’ projection with a
shifted centerline (lon_0=180), but I receive an error when shiftdata() is
called. Since the plot works when lon_0=0, this seems to be a bug.
I’ve posted the code, error, and plots here:
Hello,
I've tried installing the latest version of basemap on OSX Lion and am getting
the following error:
# ---
scotthenderson@basemap-1.0.6:python setup.py build
ld: warning: ld: warning: ignoring file nad2bin.o, file was built for
unsupported file format ( 0xcf 0xfa 0xed
jeffrey.s.whita...@noaa.gov wrote:
Scott Henderson wrote:
Hello,
I've tried installing the latest version of basemap on OSX Lion and am
getting the following error:
# ---
scotthenderson@basemap-1.0.6:python setup.py build
ld: warning: ld: warning: ignoring file nad2bin.o
I'd like to use the same patch to clip two images that share the same
axes, and extract values from the un-clipped region of both arrays.
Unfortunately this seems harder than expected. Code questions below,
Thanks!
from matplotlib.patches import Polygon
import matplotlib.pyplot as plt
from
I'm having trouble with transform_scalar() and imshow() with basemap.
Essential I have data from satellite tracks that are either smaller or
larger than the map extent, so I don't want to use Basemap.imshow()
which sets the 'extent' keyword automatically.
I tried following the following
I'm trying to efficiently get the distances of all points on a map to a
specified point. If the map is in projected coordinates, what is the
best way of going about this? Is there is a 'standard' way to get the
distance between points through internal basemap functions? After some
scrounging
Hello,
I'm trying to modify the following script to no avail:
http://matplotlib.github.com/examples/axes_grid/demo_colorbar_with_inset_locator.html
I'd like to have a white background behind the inset colorbar that
adjusts automatically to figure resizing. I'm thinking of doing this by
adding
Hello, I'm trying to incorporate some matplotlib widgets into my scripts
that generate plots. I'm unsure why, but if I wrap the figure creation
lines in lasso_demo.py with a function the demo does not work. Why?
#Original:
#
if __name__ == '__main__':
data = [Datum(*xy) for xy
Thanks for the response. To be more specific, if I run the modified script in
an ipython --pylab terminal:
In [1]: %run lasso_demo.py
In [2]:
The function returns, and the lasso manager is garbage collected as you say. In
other words, the plot shows up, but I can't draw a lasso and select