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

Diff of /trunk/pyvisi/examples/ballPlotExample.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 60  for i in range(len(x)*len(y)*len(z)): Line 60  for i in range(len(x)*len(y)*len(z)):
60  if method == 'pyvisi':  if method == 'pyvisi':
61    
62      # example code for how a user would write a script in pyvisi      # example code for how a user would write a script in pyvisi
63      from pyvisi import *          # base level visualisation stuff      from esys.pyvisi import *          # base level visualisation stuff
64      # import the objects to render the scene using the specific renderer      # import the objects to render the scene using the specific renderer
65      #from pyvisi.renderers.gnuplot import *   # gnuplot      #from esys.pyvisi.renderers.gnuplot import *   # gnuplot
66      from pyvisi.renderers.vtk import *       # vtk      from esys.pyvisi.renderers.vtk import *       # vtk
67            
68      # define the scene object      # define the scene object
69      # a Scene is a container for all of the kinds of things you want to put      # a Scene is a container for all of the kinds of things you want to put

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

  ViewVC Help
Powered by ViewVC 1.1.26