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

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

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

revision 1093 by jongui, Thu Apr 12 05:19:22 2007 UTC revision 1094 by jongui, Mon Apr 16 06:04:25 2007 UTC
# Line 25  dc1.setFileName(file_name = PYVISI_EXAMP Line 25  dc1.setFileName(file_name = PYVISI_EXAMP
25  # Create a Map.  # Create a Map.
26  m1 = Map(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST,  m1 = Map(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST,
27          lut = Lut.COLOR, cell_to_point = False, outline = True)          lut = Lut.COLOR, cell_to_point = False, outline = True)
28    m1.setOpacity(0.3)
29    
30  # Create an ImageReader (in place of DataCollector).  # Create an ImageReader (in place of DataCollector).
31  ir = ImageReader(ImageFormat.JPG)  ir = ImageReader(ImageFormat.JPG)

Legend:
Removed from v.1093  
changed lines
  Added in v.1094

  ViewVC Help
Powered by ViewVC 1.1.26