地理投影#

這顯示了 4 種可能的地理投影。 Cartopy 支援更多投影。

import matplotlib.pyplot as plt
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

標籤: plot-type: specialty component: projection domain: cartography

腳本總執行時間: (0 分鐘 2.969 秒)

由 Sphinx-Gallery 產生的展示廳