Esempio n. 1
0
 def __init__(self):
     self.line = visuals.LinePlotVisual(pos, color='w', edge_color='w',
                                        face_color=(0.2, 0.2, 1))
     self.axis_x = visuals.AxisVisual(pos_xax, (0, 100), (0., 1.))
     self.axis_y = visuals.AxisVisual(pos_yax, (5, 7.5), (-1., 0.))
     app.Canvas.__init__(self, keys='interactive',
                         size=canvas_size, show=True)
Esempio n. 2
0
 def __init__(self):
     app.Canvas.__init__(self, keys='interactive',
                         size=(800, 800))
     self.line = visuals.LinePlotVisual(pos, color='w', edge_color='w',
                                        symbol='o', 
                                        face_color=(0.2, 0.2, 1))
     self.show()
Esempio n. 3
0
 def __init__(self):
     self.line = visuals.LinePlotVisual(pos,
                                        color='w',
                                        edge_color='w',
                                        face_color=(0.2, 0.2, 1))
     app.Canvas.__init__(self,
                         keys='interactive',
                         size=(800, 800),
                         show=True)
     self.tr_sys = visuals.transforms.TransformSystem(self)