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

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

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

revision 987 by jongui, Tue Feb 13 02:03:23 2007 UTC revision 988 by jongui, Tue Feb 20 07:21:12 2007 UTC
# Line 13  dc1.setFileName(file_name = "/home/jongu Line 13  dc1.setFileName(file_name = "/home/jongu
13  # Create a velocity on plane clip instance.  # Create a velocity on plane clip instance.
14  vopc1 = VelocityOnPlaneClip(scene = s, data_collector = dc1,  vopc1 = VelocityOnPlaneClip(scene = s, data_collector = dc1,
15          arrow = Arrow.THREE_D, color_mode = ColorMode.SCALAR)          arrow = Arrow.THREE_D, color_mode = ColorMode.SCALAR)
16  vopc1.setScaleFactor(2000000)  vopc1.setScaleFactor(200000)
17  vopc1.setPlaneToYZ()  vopc1.setPlaneToYZ()
18  vopc1.rotateY(-70)  vopc1.rotateY(-70)
19  vopc1.translate(0,0,0.3)  vopc1.translate(0,0,0.3)

Legend:
Removed from v.987  
changed lines
  Added in v.988

  ViewVC Help
Powered by ViewVC 1.1.26