Skip to content

Instantly share code, notes, and snippets.

@Serpens
Last active November 16, 2015 12:50
Show Gist options
  • Save Serpens/18e313bc43ebf3d796c2 to your computer and use it in GitHub Desktop.
Save Serpens/18e313bc43ebf3d796c2 to your computer and use it in GitHub Desktop.
3D plot in Python
fig=pylab.figure()
ax = mpl_toolkits.mplot3d.axes3d.Axes3D(fig)
for i in xrange(len(array)):
ax.plot([i] * 512, numpy.arange(0, 512), zs=array[i])
pylab.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment