1 语法 ax = plt.gca(projection='3d')ax.plot_surface(x,y,z,rstride=行步距,cstride=列步距,cmap=颜色映射) gca(**kwargs) 在当前图像上,获取与给定关键字args匹配的当前Axes的当前Axes实例,若不存在,则会返回一个新创建的实例. 帮助文档中的一个示例 plt.gca(projection='polar') If the current axes doesn't exist, or isn't a pol
require(grDevices) # for colours filled.contour(volcano, color = terrain.colors, asp = 1) # simple x <- 10*1:nrow(volcano)y <- 10*1:ncol(volcano)filled.contour(x, y, volcano, color = terrain.colors, plot.title = title(main = "The Topography of