Created
August 24, 2013 20:02
-
-
Save addisoneee/6330137 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mpl_toolkits.basemap import Basemap as bm | |
import matplotlib.pyplot as plt | |
#Creates a 3d rendering of North America | |
map3d = bm(projection='ortho',lat_0=45,lon_0=-100,resolution='l') | |
#Draws the coastlines and boundaries, colors them | |
map3d.drawcoastlines(linewidth=0.3) | |
map3d.drawcountries(linewidth=0.5) | |
map3d.drawmapboundary(fill_color='aqua') | |
map3d.fillcontinents(color='white',lake_color='aqua') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment