matplotlib 等高線的繪製 —— plt.contour 與 plt.contourf

contour:輪廓,等高線。html 爲等高線上註明等高線的含義:git cs = plt.contour(x, y, z) plt.clabel(cs, inline=1, fontsize=10) plt.contourf 與 plt.contour 區別:github f:filled,也即對等高線間的填充區域進行填充(使用不一樣的顏色); contourf:將不會再繪製等高線(顯然不一樣
相關文章
相關標籤/搜索