/[escript]/trunk/pyvisi/examples/surfacePlot.py
ViewVC logotype

Diff of /trunk/pyvisi/examples/surfacePlot.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 604 by cochrane, Mon Dec 12 01:57:07 2005 UTC revision 605 by gross, Mon Mar 20 07:16:27 2006 UTC
# Line 29  for i in range(len(x)): Line 29  for i in range(len(x)):
29      z[i,j] = x[i]*exp(-x[i]*x[i] - y[j]*y[j])      z[i,j] = x[i]*exp(-x[i]*x[i] - y[j]*y[j])
30    
31  # import the general pyvisi stuff  # import the general pyvisi stuff
32  from pyvisi import *  from esys.pyvisi import *
33  # import the gnuplot overrides of the interface  # import the gnuplot overrides of the interface
34  if ren_mod == "gnuplot":  if ren_mod == "gnuplot":
35      from pyvisi.renderers.gnuplot import *      from esys.pyvisi.renderers.gnuplot import *
36  elif ren_mod == "vtk":  elif ren_mod == "vtk":
37      from pyvisi.renderers.vtk import *      from esys.pyvisi.renderers.vtk import *
38  elif ren_mod == "plplot":  elif ren_mod == "plplot":
39      from pyvisi.renderers.plplot import *      from esys.pyvisi.renderers.plplot import *
40  else:  else:
41      raise ValueError, "Unknown renderer module"      raise ValueError, "Unknown renderer module"
42    

Legend:
Removed from v.604  
changed lines
  Added in v.605

  ViewVC Help
Powered by ViewVC 1.1.26