@@ -305,8 +305,10 def createPmultilineYAxis(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel='' | |||
|
305 | 305 | matplotlib.pyplot.ioff() |
|
306 | 306 | |
|
307 | 307 | lines = ax.plot(x, y.T, marker=marker,markersize=markersize,linestyle=linestyle) |
|
308 |
leg = ax.legend(lines, legendlabels, bbox_to_anchor=(1.0 |
|
|
309 |
|
|
|
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.5, labelspacing=0.5, borderaxespad=0.) | |
|
310 | ||
|
311 | for label in leg.get_texts(): label.set_fontsize(9) | |
|
310 | 312 | |
|
311 | 313 | ax.set_xlim([xmin,xmax]) |
|
312 | 314 | ax.set_ylim([ymin,ymax]) |
@@ -352,7 +354,7 def createPmultilineYAxis(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel='' | |||
|
352 | 354 | |
|
353 | 355 | return iplot |
|
354 | 356 | |
|
355 |
def pmultiline |
|
|
357 | def pmultilineyaxis(iplot, x, y, xlabel='', ylabel='', title=''): | |
|
356 | 358 | |
|
357 | 359 | ax = iplot.get_axes() |
|
358 | 360 |
@@ -925,7 +925,7 class RTIfromNoise(Figure): | |||
|
925 | 925 | noisedB = 10*numpy.log10(noise) |
|
926 | 926 | |
|
927 | 927 | thisDatetime = dataOut.datatime |
|
928 | title = "RTI: %s" %(thisDatetime.strftime("%d-%b-%Y")) | |
|
928 | title = "RTI Noise: %s" %(thisDatetime.strftime("%d-%b-%Y")) | |
|
929 | 929 | xlabel = "" |
|
930 | 930 | ylabel = "Range (Km)" |
|
931 | 931 |
General Comments 0
You need to be logged in to leave comments.
Login now