Re: [Matplotlib-users] plot Africa only

2014-10-24 Thread Tommy Carstensen
Felipe, thanks for the links! I do realize it would be impossible to leave out non-African mainland when using bluemarble(). I could color Europe, Madagascar, Middle East white on a map with filled continents, but I would have to be accurate at the Israel/Egypt, Djibouti/Yemen and Spain/Morocco bor

Re: [Matplotlib-users] plot Africa only

2014-10-24 Thread Filipe Pires Alvarenga Fernandes
Hi Tommy, there is not easy way to do it with matplolib+basemap. Also, you will find it extra hard because the image you are plotting (blue marble) is raster that is cut in lon, lat bounding box. Therefore, unless you create a mask around what to plot and what not to plot, it will show everythin

Re: [Matplotlib-users] plot Africa only

2014-10-24 Thread Tommy Carstensen
Does anyone know, whether a continent can be left out when plotting with matplotlib basemap? For example I wish to hide Europe (and Madagascar) on this plot: http://www.tommycarstensen.com/python3_matplotlib_basemap_merc_bluemarbleTrue_scaledTrue_1000GTrue_hresolution.jpg On Sat, Oct 18, 2014 at 7