matplotlib-basemap Questions

2

I am plotting a map with arrows on top of it. These arrows represent winddirections, average windspeed (per direction) and the occurence (per direction). The direction is indicated by the directio...
Ashmore asked 31/5, 2017 at 8:15

1

I'm trying to plot a satellite orbit around the Earth. This is what I currrently have: I made this plot using the Axes3D function in mpl_toolkits.mplot3d. Ideally what I would like to do, is to ...
Boyar asked 17/1, 2016 at 12:51

2

Solved

I want to be able to draw a selection area on a matplotlib plot with a mouse event. I didn't find information on how to do it with python. In the end, I want to be able to draw a region of interes...
Glenda asked 21/8, 2012 at 9:54

7

Solved

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 ...
Luna asked 11/1, 2013 at 14:34

1

Solved

The python Basemap has two contents plotted in it: A multiline shapefile (IL_State_ln) and a scatterplot of some random points within the basemap extent. My interest is in generating a legend that ...
Equitation asked 7/3, 2017 at 4:2

1

Solved

I have created a small program which takes an NHL city and then draws the path the team travels throughout their season. The resulting graphic is messy: So I got the idea that it would be int...
Houseleek asked 22/2, 2017 at 22:53

1

Solved

I am creating a series of lat/long scatterplots on a map from basemap. I am planning on creating thousands of plot, with different lat/long data. To save time I wanted to draw the map overlay only ...
Lawanda asked 17/2, 2017 at 12:51

0

Taking ideas from various sources, and combining with my own, I sought to create an animated maps showing the shading of countries based on some value in my data. The basic process is this: Run ...
Toweling asked 11/1, 2017 at 0:27

1

Solved

I'm having an issue plotting an RGB image using Python's Basemap module with latitude and longitude data. Now, I am able to make the plots that I want, but the problem is how slow it is, since it i...
Neurology asked 30/12, 2016 at 1:11

1

I'm trying to plot some coordinate points on a world map. I use a cylindrical projection as follows: fig = plt.figure(figsize=(18,6)) map = Basemap(projection='cyl', lat_0 = 57, lon_0 = -135, reso...
Presumptive asked 29/1, 2016 at 9:47

1

Solved

I'm close to getting the map that I want. Matplotlib's Basemap is great, but the coastlines are too coarse when I zoom in. I can read the Natural Earth shapefiles and plot them, which are much bett...
Mathre asked 16/3, 2016 at 15:8

1

Solved

I have draw a map with latitudes labelled but I want to set the fonts as "Times New Roman". How to make it possible? m.drawparallels(parallels,labels=[1,0,0,0],fontsize=12)
Hanselka asked 22/11, 2016 at 5:50

3

I have installed Anaconda (version 1.6.2) installed on my 64 bit machine. It comes with a great set of libraries, but I also need Basemap, part of matlibplot, but it is not included with the Anacon...
Thurible asked 6/9, 2013 at 22:58

2

Solved

Problem : When Plotting Multiple Histograms in Matplotlib, i cannot differentiate a plot from another Problem as Image : ** **Minor Problem : The left label 'Count' is out of the image, partially...
Tinney asked 29/6, 2016 at 17:47

2

Solved

The following code produces the image I want, but the colourbar is blank/white, and doesn't match the data: def plot_array(da, ax=None, shift=True): """plots an array of lat by lon on a coastline...
Leah asked 20/6, 2016 at 7:56

1

I have a basemap of the world, and it's filled with data (lintrends_mean) using pcolormesh. Because the data has relatively large grid boxes, I'd like to smooth the plot. However, I can't figure ou...
Flaxen asked 14/6, 2016 at 22:7

2

Solved

I want to plot a graph on a map where the nodes would be defined by coordinates (lat, long) and have some value associated. I have been able to plot points as a scatterplot on a basemap but can't ...
Manvil asked 11/11, 2013 at 20:26

1

Solved

I am trying to identify the indices of the masked pixels when using maskoceans so I can then call only the land pixels in a code I have that is currently going through the whole globe, even thoug...

2

Solved

I am trying to plot contour lines of pressure level. I am using a netCDF file which contain the higher resolution data (ranges from 3 km to 27 km). Due to higher resolution data set, I get lot of p...
Hussite asked 25/2, 2016 at 16:50

2

Solved

Is there a way to query basemap to extract all coastal coordinates? Say user provides lat/lng and the function returns true/false if the coordinates are within 1km from the coast?
Danyluk asked 29/9, 2015 at 21:8

2

I know that matplotlib and scipy can do bicubic interpolation: http://matplotlib.org/examples/pylab_examples/image_interp.html http://docs.scipy.org/doc/scipy/reference/tutorial/interpolate.html ht...
Hyperbaric asked 30/6, 2014 at 17:25

1

Solved

I have figured out a method to cluster disperse point data into structured 2-d array(like rasterize function). And I hope there are some better ways to achieve that target. My work 1. Intro 10...
Benfield asked 8/1, 2016 at 2:50

1

I want to use imshow (for example) to display some data inside the boundaries of a country (for the purposes of example I chose the USA) The simple example below illustrates what I want: import nu...
Resumption asked 6/9, 2014 at 14:36

1

Solved

I have 79 lat and lons that I have data for to plot on a Basemap in Python. I have an array of 79 numbers to go along with it that I would like to plot instead of a normal dot (i.e. I would like a ...
Standard asked 22/9, 2015 at 1:59

3

Solved

I am plotting the netCDF file available here: https://goo.gl/QyUI4J Using the code below, the map looks like this: However, I want the oceans to be in white color. Better still, I want to be abl...
Sematic asked 13/8, 2015 at 18:42

© 2022 - 2024 — McMap. All rights reserved.