This shows a simple example of how to create a quick 3-d surface visualization using xplt.

   1 
   2 from scipy.sandbox import xplt
   3 from numpy import *
   4 from scipy import special
   5 
   6 x,y = ogrid[-12:12:50j,-12:12:50j]
   7 r = sqrt(x**2+y**2)
   8 z = special.j0(r)
   9 xplt.surf(z,x,y,shade=1,palette='heat')

Cookbook/xplt (last edited 2006-02-02 00:47:38 by TravisOliphant)