October 2018
Beginner to intermediate
676 pages
18h 30m
English
Here are the steps required to plot the map and various locations across the globe. You can get longitude and latitude information for various locations on the internet. Here, we will plot major cities, mostly capitals of countries:
fig = plt.figure(figsize=(10, 5))ax = fig.add_subplot(1, 1, 1, projection=ccrs.Robinson())
ax.set_global()ax.stock_img()ax.coastlines()
ax.plot(-0.08, 51.53, 'o', transform=ccrs.PlateCarree(), markersize=7, color='r')
plt.text(-0.08, 51.53, 'London', ...
Read now
Unlock full access