示例#1
0
	def showVelocity(self, data, fvm=None, plottype=None):
		if not self.isGraphing():
			return
		dv1 = Graphs.DrawVelocity(data, fvm=fvm)
		if plottype is not None:
			dv1.plottype = plottype
		self._sendplot(dv1)
示例#2
0
 def showVelocity(self,
                  data,
                  labels,
                  fvm=None,
                  plottype=None,
                  title=None,
                  early=None):
     if self.norun:
         return
     pt = plottype
     if pt == None:
         pt = "DRAWVELOCITY"
     if not self.isGraphing(pt):
         return
     if early is not None:
         self.graphBeforeEndOfFF(pt, early)
     dv1 = Graphs.DrawVelocity(data, labels, fvm=fvm, title=title)
     if plottype is not None:
         dv1.plottype = plottype
     self._sendplot(dv1)