This shows a simple example of how to create a quick 3-d surface visualization using xplt.
1 from scipy.sandbox import xplt
2 from numpy import *
3 from scipy import special
4
5 x,y = ogrid[-12:12:50j,-12:12:50j]
6 r = sqrt(x**2+y**2)
7 z = special.j0(r)
8 xplt.surf(z,x,y,shade=1,palette='heat')