/[escript]/trunk/doc/examples/pyvisi/seriesofreads.py
ViewVC logotype

Diff of /trunk/doc/examples/pyvisi/seriesofreads.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1148 by jongui, Wed May 16 22:45:33 2007 UTC revision 1153 by jongui, Thu May 17 06:33:54 2007 UTC
# Line 16  FIRST_FILE_NAME = "phi_talus_lava.0099.v Line 16  FIRST_FILE_NAME = "phi_talus_lava.0099.v
16  IMAGE_NAME = "seriesofreads"  IMAGE_NAME = "seriesofreads"
17  JPG_RENDERER = Renderer.ONLINE_JPG  JPG_RENDERER = Renderer.ONLINE_JPG
18    
   
19  # Create a Scene.  # Create a Scene.
20  s = Scene(renderer = JPG_RENDERER, num_viewport = 1, x_size = X_SIZE,  s = Scene(renderer = JPG_RENDERER, num_viewport = 1, x_size = X_SIZE,
21          y_size = Y_SIZE)          y_size = Y_SIZE)
# Line 35  mosc1 = Contour(scene = s, data_collecto Line 34  mosc1 = Contour(scene = s, data_collecto
34          outline = True)          outline = True)
35  mosc1.generateContours(0)  mosc1.generateContours(0)
36    
37  # Create a second DataCollector reading from the same XML file. An initial  # Create a second DataCollector reading from the same XML file.
 # file must always be assigned when the DataCollector is created,  
 # although the same file is read again in the for-loop.    
38  dc2 = DataCollector(source = Source.XML)  dc2 = DataCollector(source = Source.XML)
39  dc2.setFileName(file_name = os.path.join(PYVISI_EXAMPLE_MESHES_PATH, \  dc2.setFileName(file_name = os.path.join(PYVISI_EXAMPLE_MESHES_PATH, \
40          FIRST_FILE_NAME))          FIRST_FILE_NAME))

Legend:
Removed from v.1148  
changed lines
  Added in v.1153

  ViewVC Help
Powered by ViewVC 1.1.26