From 04f1d78741cd254dce614e1e061aec8d384b4fad Mon Sep 17 00:00:00 2001 From: Langspielplatte Date: Sat, 14 Jan 2023 10:34:25 +0100 Subject: [PATCH] Bugfix, plot ack_rtt --- plot_transmission_timeline.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plot_transmission_timeline.py b/plot_transmission_timeline.py index a375371..6b5782c 100755 --- a/plot_transmission_timeline.py +++ b/plot_transmission_timeline.py @@ -111,7 +111,7 @@ if __name__ == "__main__": j.start() print("Started all jobs.") - # Ensure all of the processes have finished + # Ensure all the processes have finished finished_job_counter = 0 working = ["|", "/", "-", "\\", "|", "/", "-", "\\"] w = 0 @@ -193,6 +193,10 @@ if __name__ == "__main__": plt.subplots_adjust() + host.plot(transmission_df["goodput"], "-", color="blue", label="goodput") + host.set_xlabel("datetime") + host.set_ylabel("goodput [Mbps]") + # additional y axes par11 = host.twinx() par12 = host.twinx() @@ -206,10 +210,6 @@ if __name__ == "__main__": par12.axis["right"].toggle(all=True) # par13.axis["right"].toggle(all=True) - host.plot(transmission_df["goodput"], "-", color="blue", label="goodput") - host.set_xlabel("datetime") - host.set_ylabel("goodput [Mbps]") - par11.plot(transmission_df["downlink_cqi"], "--", color="green", label="CQI") par11.set_ylabel("CQI") par11.set_ylim([0, 15])