0
votes
1answer
22 views

Updating Matplotlib toolbar when repainted

I have written a test python program for Matplotlib-Basemap on wxpython using examples found on the internet. A map drawn with Mercator projection when the GUI is launched. On selecting various radio ...
0
votes
1answer
61 views

matplotlib basemap no module named axes_grid1

i have a problem after installing Basemap 1.0.6. I'm running a virtualenv, first a activated my virtualenv, went into my home directory and downloaded the latest Basemap version. Then i installed it ...
1
vote
1answer
150 views

pcolormesh draws not points but lines between data points

I need to plot data of rain summas (from satellite observations) onto a map from grib2 files. Finally I managed to load the data via text files into numpy arrays and tie it with picture coordinates ...
0
votes
0answers
147 views

Python solution to transforming polar stereographic data to mercator projection

I've data in polar stereographic projection and the lat and lon values as well. But I cannot seem to find a simple way to transform this to a mercator (regular square lat and lon) projection in ...
-2
votes
2answers
207 views

How to make an animated geographic heat map?

I have a list of coordinates and timestamps spread over a 24-hour period. I want to create an animated heat map which will show the map throughout the day. I've tried looking at Basemap's example ...
4
votes
3answers
142 views

why does my colorbar have lines in it?

Does anyone know why my colorbar has what appear to be lines in it? Or rather why is the color transition not smooth? I'm using basemap, obviously, but that shouldn't matter since it's all matplotlib ...
0
votes
0answers
98 views

projection-plot country boundaries

I use this code to plot a projection center over France: from sys import argv from numpy import array,histogram from numpy import * from math import * from matplotlib.pyplot import * from ...
0
votes
1answer
148 views

How to plot gridded data in basemap and find grid points along a specific azimuth

I am trying to map some data. I have a dataset that gives a range of values (frequencies) for each direction. I want to plot them on a grid so each grid point along a particular azimuth is weighted by ...
2
votes
2answers
328 views

Best way to create a 2D Contour Map with Python

I am trying to create a 2D Contour Map in Python that looks like this: In this case, it is a map of chemical concentration for a number of points on the map. But for the sake of simplicity, we ...
0
votes
1answer
235 views

Orthographic projection Python

I use orthographic projection to plot maps. I use this programm: from mpl_toolkits.basemap import Basemap import numpy as np import matplotlib.pyplot as plt import os, sys from sys import ...
1
vote
2answers
469 views

plot trajectories on an map using basemap

import numpy as np data = np.loadtxt('path-tracks.csv',dtype=np.str,delimiter=',',skiprows=1) print data [['19.70' '-95.20' '2/5/04 6:45 AM' '1' '-38' 'CCM'] ['19.70' '-94.70' '2/5/04 7:45 AM' '1' ...
0
votes
0answers
134 views

matplotlib basemap Force North to be Up

I'm plotting elevation data for a segment near the north pole on Mars, using an Azimuthal Equidistant Projection, and this is how it looks, I would prefer it if North was up! This is how I'm doing ...
2
votes
1answer
57 views

Is it possible to show the 'back side' of the earth with matplotlib basemap using orthographic projection?

Basically I want to make the body of the Earth "transparent" so that an object (a point or a patch, etc) and its antipodal image can be displayed simultaneously on the same orthographic map. Is this ...
9
votes
6answers
1k views

world map without rivers with matplotlib / Basemap?

Would there be a way to plot the borders of the continents with Basemap (or without Basemap, if there is some other way), without those annoying rivers coming along? Especially that piece of Kongo ...
7
votes
2answers
1k views

Why do I get “UserWarning: Module dap was already imported from None …”

I have python-matplotlib and python-mpltoolkits.basemap installed from Ubuntu packages. Installing python-mpltoolkits.basemap also installs python-dap as a dependency. When I import basemap, I get ...

1 2 3 4
15 30 50 per page