from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt import numpy as np x = np.arange(0,1000,1) y = np.arange(0,1000,1) X,Y = np.meshgrid(x,y) Z1 = (X+Y)/2 Z2 = np.sqrt(X*Y) fig = plt.figure() ax = fig.add_subplot(111, projection='3d') ax.plot_wireframe(X,Y,Z1,color="red") ax.plot_wireframe(X,Y,Z2,color="blue") plt.show()