Exemple #1
0
 def showEnergy(self,
                time,
                data,
                maxtimeindex,
                labels,
                title=None,
                early=None):
     if self.norun:
         return
     if not self.isGraphing("ENERGY"):
         return
     if early is not None:
         self.graphBeforeEndOfFF("ENERGY", early)
     dv1 = Graphs.DrawEnergy(data,
                             time,
                             labels,
                             timeindex=maxtimeindex,
                             title=title)
     self._sendplot(dv1)
	def showEnergy(self, time, data, maxtimeindex):
		if not self.isGraphing():
			return
		dv1 = Graphs.DrawEnergy( data, time, timeindex = maxtimeindex)
		self._sendplot(dv1)