/[escript]/trunk/pyvisi_old/examples/seismicOffsetPlot2.py
ViewVC logotype

Diff of /trunk/pyvisi_old/examples/seismicOffsetPlot2.py

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

revision 337 by cochrane, Mon Dec 12 01:57:07 2005 UTC revision 605 by gross, Mon Mar 20 07:16:27 2006 UTC
# Line 31  for i in range(1000): Line 31  for i in range(1000):
31  fp.close()  fp.close()
32    
33  # example code for how a user would write a script in pyvisi  # example code for how a user would write a script in pyvisi
34  from pyvisi import *          # base level visualisation stuff  from esys.pyvisi import *          # base level visualisation stuff
35  #from pyvisi.utils import *   # pyvisi specific utils  #from esys.pyvisi.utils import *   # pyvisi specific utils
36  # import the objects to render the scene using the specific renderer  # import the objects to render the scene using the specific renderer
37  if ren_mod == "gnuplot":  if ren_mod == "gnuplot":
38      from pyvisi.renderers.gnuplot import *   # gnuplot      from esys.pyvisi.renderers.gnuplot import *   # gnuplot
39  elif ren_mod == "vtk":  elif ren_mod == "vtk":
40      from pyvisi.renderers.vtk import *       # vtk      from esys.pyvisi.renderers.vtk import *       # vtk
41  else:  else:
42      raise ValueError, "Unknown renderer module"      raise ValueError, "Unknown renderer module"
43    

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

  ViewVC Help
Powered by ViewVC 1.1.26