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

Diff of /trunk/pyvisi/examples/simplePlotMovieExample.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 637 by gross, Thu Mar 23 10:55:31 2006 UTC
# Line 2  Line 2 
2    
3  """  """
4  Example of plotting a changing function with pyvisi  Example of plotting a changing function with pyvisi
5    
6    @var __author__: name of author
7    @var __license__: licence agreement
8    @var __copyright__: copyrights
9    @var __url__: url entry point on documentation
10    @var __version__: version
11    @var __date__: date of the version
12  """  """
13    
14    __copyright__="""  Copyright (c) 2006 by ACcESS MNRF
15                        http://www.access.edu.au
16                    Primary Business: Queensland, Australia"""
17    __license__="""Licensed under the Open Software License version 3.0
18                 http://www.opensource.org/licenses/osl-3.0.php"""
19    __author__="Paul Cochrane"
20    __url__="http://www.iservo.edu.au/esys"
21    __version__="$Revision$"
22    __date__="$Date$"
23    
24    
25  # what plotting method are we using?  # what plotting method are we using?
26  method = 'pyvisi'  method = 'pyvisi'
27    
# Line 17  y = x**2 Line 35  y = x**2
35  if method == 'pyvisi':  if method == 'pyvisi':
36    
37      # example code for how a user would write a script in pyvisi      # example code for how a user would write a script in pyvisi
38      from pyvisi import *          # base level visualisation stuff      from esys.pyvisi import *          # base level visualisation stuff
39      #from pyvisi.utils import *   # pyvisi specific utils      #from esys.pyvisi.utils import *   # pyvisi specific utils
40      # import the objects to render the scene using the specific renderer      # import the objects to render the scene using the specific renderer
41      from pyvisi.renderers.gnuplot import *   # gnuplot      from esys.pyvisi.renderers.gnuplot import *   # gnuplot
42      #from pyvisi.renderers.vtk import *       # vtk      #from esys.pyvisi.renderers.vtk import *       # vtk
43            
44      # define the scene object      # define the scene object
45      # 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.337  
changed lines
  Added in v.637

  ViewVC Help
Powered by ViewVC 1.1.26