Browse Source

Valuefixes

master
langspielplatte 2 years ago
parent
commit
e4fc32a1a2
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      plot_single_transmission_paper.py

+ 2
- 3
plot_single_transmission_paper.py View File

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 = ax[1]
ax2 = ax0.twinx()
# ax2.spines.right.set_position(("axes", 1.22)) # ax2.spines.right.set_position(("axes", 1.22))


ax00 = ax[1] ax00 = ax[1]
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]

Loading…
Cancel
Save