python机器学习-chapter2_12

•XX, YY = np.meshgrid(xx, yy)

meshgrid()函数用两个坐标轴上的点在平面上画网格

https://www.cnblogs.com/shanlizi/p/9127878.html

•ax.plot_surface(XX, YY, ZZ, rstride = 8, cstride = 8, alpha = 0.3)

rstride:行之间的跨度 cstride:列之间的跨度

plot_surface()中的更多参数说明:https://blog.csdn.net/ygdxt/article/details/86618606

猜你喜欢

转载自www.cnblogs.com/bozi/p/12319430.html