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

Diff of /trunk/pyvisi/examples/arrowPlot.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 34  for i in range(len(x)): Line 34  for i in range(len(x)):
34      dy[i] = y[i]*y[i]      dy[i] = y[i]*y[i]
35    
36  # example code for how a user would write a script in pyvisi  # example code for how a user would write a script in pyvisi
37  from pyvisi import *          # base level visualisation stuff  from esys.pyvisi import *          # base level visualisation stuff
38  # import the objects to render the scene using the specific renderer  # import the objects to render the scene using the specific renderer
39  if ren_mod == "gnuplot":  if ren_mod == "gnuplot":
40      from pyvisi.renderers.gnuplot import *   # gnuplot      from esys.pyvisi.renderers.gnuplot import *   # gnuplot
41  elif ren_mod == "vtk":  elif ren_mod == "vtk":
42      from pyvisi.renderers.vtk import *   # vtk      from esys.pyvisi.renderers.vtk import *   # vtk
43  else:  else:
44      raise ValueError, "Unknown renderer module"      raise ValueError, "Unknown renderer module"
45    

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

  ViewVC Help
Powered by ViewVC 1.1.26