Did I find the right examples for you? yes no

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/p/y/pyaos-examples-HEAD/visualization/vcs/polargol.py   pyaos-examples(Download)
 
    # Initialize vcs
    x = vcs.init()
    x.landscape()
    y = vcs.init()

src/p/y/pyaos-examples-HEAD/visualization/vcs/bf_marker_proj_easy.py   pyaos-examples(Download)
 
# Initialize the graphics canvas
x = vcs.init()
 
# Output file formats
cont_test.type = 5 # continents with political borders
cont_test.linecolor = 242 # Red
y = vcs.init()
y.plot(tpl, cont_test, bg=bg_type)
y.marker(marker_test, bg=bg_type)

src/v/i/VisTrails-HEAD/contrib/cdat/cdat_cell.py   VisTrails(Download)
 
        # Initialize the canvas and get the graphics method
        canvas = vcs.init()
        gm = canvas.get_gm(plotType.lower(), gmName)
 
        self.canvas = inputPorts[0]
        if self.canvas is None:
            self.canvas = vcs.init()
        self.canvas.clear()
 

src/v/i/VisTrails-HEAD/contrib/cdat/scripts/old_cdat_init.py   VisTrails(Download)
  def compute(self):
    if self.canvas == None :
      print "calling vcs.init()"
      self.canvas = vcs.init()
    self.set_output("vcs_canvas", self)

src/v/i/VisTrails-HEAD/contrib/cdat/cdat_window.py   VisTrails(Download)
 
        # Create graphic method attribute option / editor
        canvas = vcs.init()
        self.graphicsMethodController = QGraphicsMethodAttributeWindow(canvas, self)
        graphicMethodAction = optionsMenu.addAction('Se&t Graphics Method Attributes')