From e89c72bcdad6ca6585a0f9717e33907217c716e4 2013-04-17 13:31:17 From: Daniel Valdez Date: 2013-04-17 13:31:17 Subject: [PATCH] se actualiza el titulo de cada grafico por canal empezando desde 1 --- diff --git a/schainpy/model/jroplot.py b/schainpy/model/jroplot.py index 203372d..820b1c1 100644 --- a/schainpy/model/jroplot.py +++ b/schainpy/model/jroplot.py @@ -321,7 +321,7 @@ class RTIPlot(Figure): self.setWinTitle(title) for i in range(self.nplots): - title = "Channel %d: %s" %(dataOut.channelList[i], thisDatetime.strftime("%d-%b-%Y %H:%M:%S")) + title = "Channel %d: %s" %(dataOut.channelList[i]+1, thisDatetime.strftime("%d-%b-%Y %H:%M:%S")) axes = self.axesList[i*self.__nsubplots] zdB = avgdB[i].reshape((1,-1)) axes.pcolorbuffer(x, y, zdB, @@ -484,7 +484,7 @@ class SpectraPlot(Figure): self.setWinTitle(title) for i in range(self.nplots): - title = "Channel %d: %4.2fdB" %(dataOut.channelList[i], noisedB[i]) + title = "Channel %d: %4.2fdB" %(dataOut.channelList[i]+1, noisedB[i]) axes = self.axesList[i*self.__nsubplots] axes.pcolor(x, y, zdB[i,:,:], xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, zmin=zmin, zmax=zmax,