From b1aba47ee03f135ab54057cb2926d4a6f5525197 2012-12-12 04:39:06 From: Daniel Valdez Date: 2012-12-12 04:39:06 Subject: [PATCH] se termina la clase RTIfromNoise para ploteo RTI del Ruido. --- diff --git a/schainpy/model/graphics/mpldriver.py b/schainpy/model/graphics/mpldriver.py index 7bd6298..10e8111 100644 --- a/schainpy/model/graphics/mpldriver.py +++ b/schainpy/model/graphics/mpldriver.py @@ -305,8 +305,10 @@ def createPmultilineYAxis(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel='' matplotlib.pyplot.ioff() lines = ax.plot(x, y.T, marker=marker,markersize=markersize,linestyle=linestyle) - leg = ax.legend(lines, legendlabels, bbox_to_anchor=(1.05, 1), loc='upper right', numpoints=1, handlelength=1.5, \ - handletextpad=0.5, borderpad=0.2, labelspacing=0.2, borderaxespad=0.) + leg = ax.legend(lines, legendlabels, loc='upper left', bbox_to_anchor=(1.01, 1.00), numpoints=1, handlelength=1.5, \ + handletextpad=0.5, borderpad=0.5, labelspacing=0.5, borderaxespad=0.) + + for label in leg.get_texts(): label.set_fontsize(9) ax.set_xlim([xmin,xmax]) ax.set_ylim([ymin,ymax]) @@ -352,7 +354,7 @@ def createPmultilineYAxis(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel='' return iplot -def pmultilineinyaxis(iplot, x, y, xlabel='', ylabel='', title=''): +def pmultilineyaxis(iplot, x, y, xlabel='', ylabel='', title=''): ax = iplot.get_axes() diff --git a/schainpy/model/jroplot.py b/schainpy/model/jroplot.py index 7fc8142..1d81505 100644 --- a/schainpy/model/jroplot.py +++ b/schainpy/model/jroplot.py @@ -925,7 +925,7 @@ class RTIfromNoise(Figure): noisedB = 10*numpy.log10(noise) thisDatetime = dataOut.datatime - title = "RTI: %s" %(thisDatetime.strftime("%d-%b-%Y")) + title = "RTI Noise: %s" %(thisDatetime.strftime("%d-%b-%Y")) xlabel = "" ylabel = "Range (Km)"