【发布时间】:2021-11-25 03:16:44
【问题描述】:
我正在尝试在极坐标图上绘制三角形,但是在 0 经度点上绘制时似乎出现故障。
此外,在不包含 0 经度的其他位置绘制三等高线时,它工作得很好。
下面分别是三角图和散点图的代码:
axes.tricontourf(prediction['Longitude'], prediction['Latitude'], prediction['Measurement'], levels = np.linspace(0, 2, 50), cmap='viridis', zorder=10)
axes.scatter(prediction['Longitude'], prediction['Latitude'], c=prediction['Measurement'], cmap='viridis', zorder=10, norm = plt.Normalize(0, 2),s=10)
此外,here are the data points centred on 0 lon, 62 lat 和 these are the ones centred on -90 lon, 62 lat。
有人知道为什么会这样吗?
【问题讨论】:
标签: python cartopy contourf visual-glitch