Skip to content

Commit da45274

Browse files
authored
Add files via upload
1 parent c356b55 commit da45274

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

dataVaultLivePlotter.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,9 @@ def plotMore(self, newData, x_ind, y_ind, z_ind, c):
985985
self.mainPlot.setImage(self.tmp, autoRange = False , autoLevels = False, pos=[argX, argY],scale=[self.xscale, self.yscale])
986986
if self.autoLevelMainplot:
987987
self.mainPlot.autoLevels()
988+
pctComplete = int(100 * (self.tmp.shape[0] * self.tmp.shape[1]) / (self.plotData.shape[0] * self.plotData.shape[1]))
989+
self.setWindowTitle(self.plotTitle + ' (' + str(pctComplete) + '% Complete)')
990+
988991

989992
def closeEvent(self, e):
990993
self.mainWin.existing2DPlotDict.pop(self.plotWinID)

0 commit comments

Comments
 (0)