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

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

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

revision 1042 by jongui, Fri Mar 16 05:15:37 2007 UTC revision 1043 by jongui, Mon Mar 19 06:46:34 2007 UTC
# Line 12  dc1.setActiveScalar(scalar = "temperatur Line 12  dc1.setActiveScalar(scalar = "temperatur
12  # Create one contour instance.  # Create one contour instance.
13  ctr1 = Contour(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST,  ctr1 = Contour(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST,
14          lut = Lut.COLOR, outline = True)          lut = Lut.COLOR, outline = True)
15  ctr1.generateContours(contours = 1, lower_range = 0.5, upper_range = 0.5)  #ctr1.generateContours(contours = 1, lower_range = 0.5, upper_range = 0.5)
16    
17  cam1 = Camera(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST)  cam1 = Camera(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST)
18  cam1.elevation(angle = -40)  cam1.elevation(angle = -40)

Legend:
Removed from v.1042  
changed lines
  Added in v.1043

  ViewVC Help
Powered by ViewVC 1.1.26