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:将不会再绘制等高线(显然不一样
相关文章
相关标签/搜索