bionet.utils.plotting.surf¶
- bionet.utils.plotting.surf(X, Y, Z, *args)¶
Create a surface plot.
By default it will be colored in shades of a solid color, but it also supports color mapping by supplying the cmap argument.
Argument Description X, Y, Z Data values as 2D arrays rstride Array row stride (step size) cstride Array column stride (step size) color Color of the surface patches cmap A colormap for the surface patches. facecolors Face colors for the individual patches norm An instance of Normalize to map values to colors vmin Minimum value to map vmax Maximum value to map shade Whether to shade the facecolors Other arguments are passed on to Poly3DCollection