I just thought I would include some code so you can see what I mean.

from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
import numpy as np
map=Basemap(projection='aeqd', lat_0=46, lon_0=-118.4, width=28300000,
height=28300000,
            resolution='c', area_thresh=1000.)
map.drawcoastlines()
map.drawcountries()
map.fillcontinents(color='coral')
map.drawmapboundary()
plt.show()



Rob Frohne wrote:
> 
> Hi,
> 
> I think I am running into the same thing John is here.  When you want to
> display the whole earth in 'aeqd' mode, the projection needs to be onto a
> circle.  As it is, what is plotted is a square that just fits inside the
> circle I want.  Here is a link to a photo of the kind of projection I
> want.
> 
> http://www.wm7d.net/az_proj/images/lon_anim_shaded.gif
> 
> Is there a way to get the whole earth plotted with 'aeqd'?
> 
> Thanks,
> 
> Rob
> 
> 
> John [H2O] wrote:
>> 
>> Hello, 
>> 
>> I'm creating a web application that will take user input from a
>> javascript map to give me bounding coordinates (i.e. urcrnrlat,
>> urcrnrlon, llcrnrlat, llcrnrlon) and possibly a switch for polar
>> projection. Other than that I have no further information. Which
>> projection is the most suitable to handle anything from a 'global' plot
>> to a zoom say over a state? I don't see the zoom being too tight, but
>> global projections are likely. I personally prefer Equal Area, hence
>> right now I'm working with 'aeqd', but I seem to have problems if the
>> plot is global with that projection.
>> 
>> Just looking for advice, opinions, and ideally examples if anyone has
>> created a similar function / module to use in a web environment.
>> 
>> Thanks!
>> -john
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/dynamic-basemap-tp20121594p21223795.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to