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

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

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

  ViewVC Help
Powered by ViewVC 1.1.26