From 3fb81731d7d78e32788f19e56d207cdc59e574f9 2016-01-13 23:23:31 From: Miguel Valdez Date: 2016-01-13 23:23:31 Subject: [PATCH] jroplot_voltage: saving every profile --- diff --git a/schainpy/model/graphics/jroplot_voltage.py b/schainpy/model/graphics/jroplot_voltage.py index cb6db59..a9f3993 100644 --- a/schainpy/model/graphics/jroplot_voltage.py +++ b/schainpy/model/graphics/jroplot_voltage.py @@ -172,6 +172,16 @@ class Scope(Figure): ymax) self.draw() + + str_datetime = thisDatetime.strftime("%Y%m%d_%H%M%S") + figfile = self.getFilename(name = str_datetime) + "_" + str(i) + + self.save(figpath=figpath, + figfile=figfile, + save=save, + ftp=ftp, + wr_period=wr_period, + thisDatetime=thisDatetime) else: wintitle += " [Profile = %d] " %dataOut.profileIndex @@ -203,7 +213,10 @@ class Scope(Figure): ymax) self.draw() - + + str_datetime = thisDatetime.strftime("%Y%m%d_%H%M%S") + "_" + str(dataOut.profileIndex) + figfile = self.getFilename(name = str_datetime) + self.save(figpath=figpath, figfile=figfile, save=save,