diff --git a/plot_single_transmission_paper.py b/plot_single_transmission_paper.py index 54aee23..3eed4cb 100755 --- a/plot_single_transmission_paper.py +++ b/plot_single_transmission_paper.py @@ -180,8 +180,7 @@ if __name__ == "__main__": fig.suptitle("{} with {}".format(transmission_direction, cc_algo)) ax0 = ax[0] ax1 = ax0.twinx() - #ax2 = ax0.twinx() - ax2 = ax[1] + ax2 = ax0.twinx() # ax2.spines.right.set_position(("axes", 1.22)) ax00 = ax[1] @@ -235,7 +234,7 @@ if __name__ == "__main__": if args.fancy: legend_frame = False 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 lns_ax0 = snd_plot + srtt_plot + goodput_plot labs_ax0 = [l.get_label() for l in lns_ax0]