Valuefixes

This commit is contained in:
2023-07-13 10:05:26 +02:00
parent ec443c9bd4
commit e4fc32a1a2

View File

@@ -180,8 +180,7 @@ if __name__ == "__main__":
fig.suptitle("{} with {}".format(transmission_direction, cc_algo)) fig.suptitle("{} with {}".format(transmission_direction, cc_algo))
ax0 = ax[0] ax0 = ax[0]
ax1 = ax0.twinx() ax1 = ax0.twinx()
#ax2 = ax0.twinx() ax2 = ax0.twinx()
ax2 = ax[1]
# ax2.spines.right.set_position(("axes", 1.22)) # ax2.spines.right.set_position(("axes", 1.22))
ax00 = ax[1] ax00 = ax[1]
@@ -235,7 +234,7 @@ if __name__ == "__main__":
if args.fancy: if args.fancy:
legend_frame = False 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, serial_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]