| ) | ) | ||||
| srtt_plot = ax1.plot( | srtt_plot = ax1.plot( | ||||
| transmission_df["srtt"].dropna(), | transmission_df["srtt"].dropna(), | ||||
| color="red", | |||||
| linestyle="dashdot", | |||||
| color="maroon", | |||||
| linestyle="dotted", | |||||
| label="sRTT", | label="sRTT", | ||||
| ) | ) | ||||
| goodput_plot = ax2.plot( | goodput_plot = ax2.plot( | ||||
| ax0.set_ylim(0, 5000) | ax0.set_ylim(0, 5000) | ||||
| ax1.set_ylim(0, 1) #0.3 | ax1.set_ylim(0, 1) #0.3 | ||||
| ax2.set_ylim(0, 600) | |||||
| ax2.set_ylim(0, 500) | |||||
| #ax00.set_ylim(-25, 0) | #ax00.set_ylim(-25, 0) | ||||
| ax00.set_xlabel("arrival time [s]") | ax00.set_xlabel("arrival time [s]") | ||||
| #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") | ||||
| serial_df.to_csv("{}{}_plot.csv".format(args.save, csv.replace(".csv", ""))) | |||||
| #serial_df.to_csv("{}{}_plot.csv".format(args.save, csv.replace(".csv", ""))) | |||||
| else: | else: | ||||
| fig.legend(loc="lower right") | fig.legend(loc="lower right") | ||||
| plt.savefig("{}{}_plot.pdf".format(args.save, csv.replace(".csv", "")), bbox_inches="tight") | plt.savefig("{}{}_plot.pdf".format(args.save, csv.replace(".csv", "")), bbox_inches="tight") |