/[escript]/trunk/pyvisi/py_src/examples/velocityonplanecut.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/examples/velocityonplanecut.py

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

revision 1050 by jongui, Fri Mar 16 05:15:37 2007 UTC revision 1051 by jongui, Wed Mar 21 21:56:54 2007 UTC
# Line 13  dc1.setFileName(file_name = "/home/jongu Line 13  dc1.setFileName(file_name = "/home/jongu
13  # Create a velocity instance.  # Create a velocity instance.
14  vopc1 = VelocityOnPlaneCut(scene = s, data_collector = dc1,  vopc1 = VelocityOnPlaneCut(scene = s, data_collector = dc1,
15          color_mode = ColorMode.VECTOR)          color_mode = ColorMode.VECTOR)
16  vopc1.setScaleFactor(scale_factor = 200000)  vopc1.setScaleFactor(scale_factor = 120000)
17  vopc1.setPlaneToXY(offset = 0.2)  vopc1.setPlaneToXY()
18  vopc1.setDimension(x = 4, y = 4, z = 4)  #vopc1.setDimension(x = 4, y = 4, z = 4)
19    
20  s.render()  s.render()
21    

Legend:
Removed from v.1050  
changed lines
  Added in v.1051

  ViewVC Help
Powered by ViewVC 1.1.26