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

Diff of /trunk/pyvisi/examples/offsetLinePlot.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 24  y5 = cos(3*x) Line 24  y5 = cos(3*x)
24  y6 = sin(20*x)  y6 = sin(20*x)
25    
26  # example code for how a user would write a script in pyvisi  # example code for how a user would write a script in pyvisi
27  from pyvisi import *          # base level visualisation stuff  from esys.pyvisi import *          # base level visualisation stuff
28  #from pyvisi.utils import *   # pyvisi specific utils  #from esys.pyvisi.utils import *   # pyvisi specific utils
29  # import the objects to render the scene using the specific renderer  # import the objects to render the scene using the specific renderer
30  if ren_mod == "gnuplot":  if ren_mod == "gnuplot":
31      from pyvisi.renderers.gnuplot import *   # gnuplot      from esys.pyvisi.renderers.gnuplot import *   # gnuplot
32  elif ren_mod == "vtk":  elif ren_mod == "vtk":
33      from pyvisi.renderers.vtk import *       # vtk      from esys.pyvisi.renderers.vtk import *       # vtk
34  elif ren_mod == "plplot":  elif ren_mod == "plplot":
35      from pyvisi.renderers.plplot import *    # plplot      from esys.pyvisi.renderers.plplot import *    # plplot
36  else:  else:
37      raise ValueError, "Unknown renderer module"      raise ValueError, "Unknown renderer module"
38    

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

  ViewVC Help
Powered by ViewVC 1.1.26