merge
This commit is contained in:
@@ -295,7 +295,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
ax0.set_ylim(0, 5000)
|
ax0.set_ylim(0, 5000)
|
||||||
ax1.set_ylim(0, 0.3)
|
ax1.set_ylim(0, 0.3)
|
||||||
ax2.set_ylim(0, 500)
|
ax2.set_ylim(0, 600)
|
||||||
ax00.set_ylim(-25, 0)
|
ax00.set_ylim(-25, 0)
|
||||||
ax01.set_ylim(0, 250)
|
ax01.set_ylim(0, 250)
|
||||||
# second dB axis
|
# second dB axis
|
||||||
@@ -308,16 +308,17 @@ if __name__ == "__main__":
|
|||||||
ax00.set_ylabel("LTE/NR RSRQ [dB]")
|
ax00.set_ylabel("LTE/NR RSRQ [dB]")
|
||||||
# ax02.set_ylabel("LTE RSRQ [dB]")
|
# ax02.set_ylabel("LTE RSRQ [dB]")
|
||||||
ax1.set_ylabel("sRTT [s]")
|
ax1.set_ylabel("sRTT [s]")
|
||||||
ax0.set_ylabel("cwnd")
|
ax0.set_ylabel("cwnd [MSS]")
|
||||||
ax01.set_ylabel("Bandwidth [MHz]")
|
ax01.set_ylabel("Bandwidth [MHz]")
|
||||||
|
|
||||||
if args.fancy:
|
if args.fancy:
|
||||||
|
legend_frame = False
|
||||||
ax0.set_xlim([0, transmission_df.index[-1]])
|
ax0.set_xlim([0, transmission_df.index[-1]])
|
||||||
ax00.set_xlim([0, transmission_df.index[-1]])
|
ax00.set_xlim([0, transmission_df.index[-1]])
|
||||||
# added these three lines
|
# added these three lines
|
||||||
lns_ax0 = snd_plot + srtt_plot + goodput_plot
|
lns_ax0 = snd_plot + srtt_plot + goodput_plot
|
||||||
labs_ax0 = [l.get_label() for l in lns_ax0]
|
labs_ax0 = [l.get_label() for l in lns_ax0]
|
||||||
ax0.legend(lns_ax0, labs_ax0, ncols=9, fontsize=9, loc="upper center")
|
ax2.legend(lns_ax0, labs_ax0, ncols=9, fontsize=9, loc="upper left", frameon=legend_frame)
|
||||||
#ax0.set_zorder(100)
|
#ax0.set_zorder(100)
|
||||||
|
|
||||||
lns_ax00 = eff_bw_plot + lte_eff_bw_plot + nr_eff_bw_plot + lte_rsrq_plot + nr_rsrq_plot
|
lns_ax00 = eff_bw_plot + lte_eff_bw_plot + nr_eff_bw_plot + lte_rsrq_plot + nr_rsrq_plot
|
||||||
@@ -326,7 +327,7 @@ if __name__ == "__main__":
|
|||||||
if nr_hanover_plot:
|
if nr_hanover_plot:
|
||||||
lns_ax00.append(nr_hanover_plot)
|
lns_ax00.append(nr_hanover_plot)
|
||||||
labs_ax00 = [l.get_label() for l in lns_ax00]
|
labs_ax00 = [l.get_label() for l in lns_ax00]
|
||||||
ax00.legend(lns_ax00, labs_ax00, ncols=3, fontsize=9, loc="upper center")
|
ax02.legend(lns_ax00, labs_ax00, ncols=3, fontsize=9, loc="upper center", frameon=legend_frame)
|
||||||
#ax00.set_zorder(100)
|
#ax00.set_zorder(100)
|
||||||
plt.savefig("{}{}_plot.eps".format(args.save, csv.replace(".csv", "")), bbox_inches="tight")
|
plt.savefig("{}{}_plot.eps".format(args.save, csv.replace(".csv", "")), bbox_inches="tight")
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ if __name__ == "__main__":
|
|||||||
ax.xaxis.grid(False)
|
ax.xaxis.grid(False)
|
||||||
|
|
||||||
|
|
||||||
L = plt.legend(ncols=2, fontsize=12)
|
L = plt.legend(ncols=2, fontsize=12, frameon=False)
|
||||||
L.get_texts()[0].set_text("5G main")
|
L.get_texts()[0].set_text("5G main")
|
||||||
L.get_texts()[1].set_text("4G main")
|
L.get_texts()[1].set_text("4G main")
|
||||||
L.get_texts()[2].set_text("4G SCC 1")
|
L.get_texts()[2].set_text("4G SCC 1")
|
||||||
|
|||||||
Reference in New Issue
Block a user