# SurfacePlot.py:matplotlib3D plot youcan rotate and scale viamouse 2 import matplotlib.pylab as p from mpl_toolkits.mplot3d import Axes3D print("Please be patient, I have packages to import & points to plot") delta = 0.1 x = p.arange( -3. , 3. , delta) y = p.arange( -3. , 3. , delta) X, Y = p.meshgrid( x , y ) Z = p.sin(X)*p.cos(Y) # surfaceheight fig = p.figure() # create figure ax = Axes3D(fig) # plots axes ax.plot_surface (X, Y, Z) # surface #ax.plot_wireframe(X, Y, Z, color='r') #wireframe ax.set_xlabel('X') ax.set_ylabel('Y') ax.set_zlabel('Z') p.show()#showfigure