November 2017
Beginner
316 pages
6h 40m
English
After creating lots of 2-D plots, we now move on to try making a simple 3-D plot. In PyPlot, we have a function named surf, which provides the functionality of creating three-dimensional plots. As per the docs, here are the usages and parameters used by the function surf.
The usage for this function is surf(x,y,z,facecolors=colors):
Argument Description======== ================================================X,Y,Z Data values as 2D arraysrstride Array row stride (step size)cstride Array column stride (step size)rcount Use at most this many rows, defaults to 50ccount Use at most this many columns, defaults to 50color Color of the surface patchescmap A colormap for the surface patches.facecolors Face colors for the individual ...
Read now
Unlock full access