![](/img/trans.png)
[英]Placement of latitude labels in cartopy with polar stereographic projection
[英]Drawing lines of constant latitude with cartopy on North Polar Stereo projection
我想在 cartopy 北極立體地圖上在北緯 88 度和 84 度處畫兩條線,但我不知道如何做。
我試過:
gl = ax.gridlines(draw_labels=False, xlocs=[], ylocs=[88,84])
gl.n_steps = 90
並且:
gl = ax.gridlines(crs=ccrs.PlateCarree(), draw_labels=True,
linewidth=2, color='gray', alpha=0.5, linestyle='--')
並收到:
“無法在 NorthPolarStereo 圖上標記網格線。目前僅支持 PlateCarree 和墨卡托圖。”
但似乎 ax.gridlines 不是為北極立體聲設置的。
有人可以幫忙嗎?
這應該在下一個版本 (0.18) 中可用。 如果您從 git master 構建/安裝 CartoPy,您可以對其進行測試。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.