Skip to content

Instantly share code, notes, and snippets.

@sadimanna
Last active August 1, 2020 15:08
Show Gist options
  • Select an option

  • Save sadimanna/54df52d86d04291ec7741cee672f9b1a to your computer and use it in GitHub Desktop.

Select an option

Save sadimanna/54df52d86d04291ec7741cee672f9b1a to your computer and use it in GitHub Desktop.
from mpl_toolkits import mplot3d
from matplotlib import animation
from mpl_toolkits.mplot3d import Axes3D
X, Y = np.meshgrid(x, y)
fig = plt.figure()
ax = plt.axes(projection='3d')
ax.plot_wireframe(X, Y, datapts, color='black')
ax.view_init(elev=2., azim=30) #JUST FOR CLEARLY VIEWING THIS PLOT
ax.set_title('wireframe')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment