This is an archival dump of old wiki content --- see scipy.org for current material.
Please see http://scipy-cookbook.readthedocs.org/

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')

surface.png

SciPy: Cookbook/xplt (last edited 2015-10-24 17:48:24 by anonymous)