##// END OF EJS Templates
se termina la clase RTIfromNoise para ploteo RTI del Ruido.
Daniel Valdez -
r246:b1aba47ee03f
parent child
Show More
@@ -305,8 +305,10 def createPmultilineYAxis(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel=''
305 matplotlib.pyplot.ioff()
305 matplotlib.pyplot.ioff()
306
306
307 lines = ax.plot(x, y.T, marker=marker,markersize=markersize,linestyle=linestyle)
307 lines = ax.plot(x, y.T, marker=marker,markersize=markersize,linestyle=linestyle)
308 leg = ax.legend(lines, legendlabels, bbox_to_anchor=(1.05, 1), loc='upper right', numpoints=1, handlelength=1.5, \
308 leg = ax.legend(lines, legendlabels, loc='upper left', bbox_to_anchor=(1.01, 1.00), numpoints=1, handlelength=1.5, \
309 handletextpad=0.5, borderpad=0.2, labelspacing=0.2, borderaxespad=0.)
309 handletextpad=0.5, borderpad=0.5, labelspacing=0.5, borderaxespad=0.)
310
311 for label in leg.get_texts(): label.set_fontsize(9)
310
312
311 ax.set_xlim([xmin,xmax])
313 ax.set_xlim([xmin,xmax])
312 ax.set_ylim([ymin,ymax])
314 ax.set_ylim([ymin,ymax])
@@ -352,7 +354,7 def createPmultilineYAxis(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel=''
352
354
353 return iplot
355 return iplot
354
356
355 def pmultilineinyaxis(iplot, x, y, xlabel='', ylabel='', title=''):
357 def pmultilineyaxis(iplot, x, y, xlabel='', ylabel='', title=''):
356
358
357 ax = iplot.get_axes()
359 ax = iplot.get_axes()
358
360
@@ -925,7 +925,7 class RTIfromNoise(Figure):
925 noisedB = 10*numpy.log10(noise)
925 noisedB = 10*numpy.log10(noise)
926
926
927 thisDatetime = dataOut.datatime
927 thisDatetime = dataOut.datatime
928 title = "RTI: %s" %(thisDatetime.strftime("%d-%b-%Y"))
928 title = "RTI Noise: %s" %(thisDatetime.strftime("%d-%b-%Y"))
929 xlabel = ""
929 xlabel = ""
930 ylabel = "Range (Km)"
930 ylabel = "Range (Km)"
931
931
General Comments 0
You need to be logged in to leave comments. Login now