示例#1
0
文件: gfx.py 项目: randolphwong/libdw
 def addDynamicPlotSMProbe(self, y=('step', None, None, None),
                           connectPoints = connectPointsDef):
     """
     :param y: probe for y-axis of dynamic plot
     """
     (yname, ymachine, ymode, yvaluefun) = y
     if ymachine: self.addProbe(y)
     io.addScopeProbeFunction(yname, lambda: self.recentPt(yname))
示例#2
0
 def addDynamicPlotSMProbe(self, y=('step', None, None, None),
                           connectPoints = connectPointsDef):
     """
     @param y: probe for y-axis of dynamic plot
     """
     (yname, ymachine, ymode, yvaluefun) = y
     if ymachine: self.addProbe(y)
     io.addScopeProbeFunction(yname, lambda: self.recentPt(yname))
示例#3
0
 def addDynamicPlotFunction(self, y=('step', None)):
     """
     @param y: function to call for y-axis of dynamic plot
     """
     (name, func) = y
     io.addScopeProbeFunction(name, func)
示例#4
0
文件: gfx.py 项目: randolphwong/libdw
 def addDynamicPlotFunction(self, y=('step', None)):
     """
     :param y: function to call for y-axis of dynamic plot
     """
     (name, func) = y
     io.addScopeProbeFunction(name, func)