@@ -243,8 +243,6 class RTIfromSpectraHeis(Figure): | |||
|
243 | 243 | if timerange != None: |
|
244 | 244 | self.timerange = timerange |
|
245 | 245 | |
|
246 | tmin = None | |
|
247 | tmax = None | |
|
248 | 246 | x = dataOut.getTimeRange() |
|
249 | 247 | y = dataOut.getHeiRange() |
|
250 | 248 | |
@@ -273,7 +271,8 class RTIfromSpectraHeis(Figure): | |||
|
273 | 271 | showprofile=showprofile, |
|
274 | 272 | show=show) |
|
275 | 273 | |
|
276 | tmin, tmax = self.getTimeLim(x, xmin, xmax) | |
|
274 | self.tmin, self.tmax = self.getTimeLim(x, xmin, xmax) | |
|
275 | ||
|
277 | 276 | if ymin == None: ymin = numpy.nanmin(datadB) |
|
278 | 277 | if ymax == None: ymax = numpy.nanmax(datadB) |
|
279 | 278 | |
@@ -306,19 +305,17 class RTIfromSpectraHeis(Figure): | |||
|
306 | 305 | |
|
307 | 306 | |
|
308 | 307 | axes.pmultilineyaxis(x=self.xdata, y=self.ydata, |
|
309 | xmin=tmin, xmax=tmax, ymin=ymin, ymax=ymax, | |
|
308 | xmin=self.tmin, xmax=self.tmax, ymin=ymin, ymax=ymax, | |
|
310 | 309 | xlabel=xlabel, ylabel=ylabel, title=title, legendlabels=legendlabels, marker='.', markersize=8, linestyle="solid", grid='both', |
|
311 | 310 | XAxisAsTime=True |
|
312 | 311 | ) |
|
313 | 312 | |
|
314 | 313 | self.draw() |
|
315 | 314 | |
|
316 |
if |
|
|
315 | if dataOut.ltctime >= self.tmax: | |
|
317 | 316 | self.counter_imagwr = wr_period |
|
318 | del self.xdata | |
|
319 | del self.ydata | |
|
320 | 317 | self.__isConfig = False |
|
321 |
|
|
|
318 | update_figfile = True | |
|
322 | 319 | |
|
323 | 320 | self.save(figpath=figpath, |
|
324 | 321 | figfile=figfile, |
@@ -326,4 +323,4 class RTIfromSpectraHeis(Figure): | |||
|
326 | 323 | ftp=ftp, |
|
327 | 324 | wr_period=wr_period, |
|
328 | 325 | thisDatetime=thisDatetime, |
|
329 |
update_figfile= |
|
|
326 | update_figfile=update_figfile) |
General Comments 0
You need to be logged in to leave comments.
Login now