Note

Go to the endto download the full example code.

Geographic Projections#

This shows 4 possible geographic projections.Cartopy supports moreprojections.

importmatplotlib.pyplotasplt
plt.figure()plt.subplot(projection="aitoff")plt.title("Aitoff")plt.grid(True)
Aitoff
plt.figure()plt.subplot(projection="hammer")plt.title("Hammer")plt.grid(True)
Hammer
plt.figure()plt.subplot(projection="lambert")plt.title("Lambert")plt.grid(True)
Lambert
plt.figure()plt.subplot(projection="mollweide")plt.title("Mollweide")plt.grid(True)plt.show()
Mollweide

Tags:plot-type: specialtycomponent: projectiondomain: cartography

Total running time of the script: (0 minutes 1.650 seconds)

Gallery generated by Sphinx-Gallery