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

Diff of /trunk/pyvisi/examples/arrowPlot3D.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 41  for i in range(dim): Line 41  for i in range(dim):
41          dz[i,j] = (random.random()-0.5)/5.0          dz[i,j] = (random.random()-0.5)/5.0
42    
43  # example code for how a user would write a script in pyvisi  # example code for how a user would write a script in pyvisi
44  from pyvisi import *          # base level visualisation stuff  from esys.pyvisi import *          # base level visualisation stuff
45  # import the objects to render the scene using the specific renderer  # import the objects to render the scene using the specific renderer
46  #from pyvisi.renderers.gnuplot import *   # gnuplot  #from esys.pyvisi.renderers.gnuplot import *   # gnuplot
47  if ren_mod == "vtk":  if ren_mod == "vtk":
48      from pyvisi.renderers.vtk import *       # vtk      from esys.pyvisi.renderers.vtk import *       # vtk
49  elif ren_mod == "povray":  elif ren_mod == "povray":
50      from pyvisi.renderers.povray import *    # povray      from esys.pyvisi.renderers.povray import *    # povray
51  else:  else:
52      raise ValueError, "Unknown renderer module"      raise ValueError, "Unknown renderer module"
53    

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

  ViewVC Help
Powered by ViewVC 1.1.26