Browse Source

Bugfix, plot ack_rtt

master
langspielplatte 2 years ago
parent
commit
04f1d78741
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      plot_transmission_timeline.py

+ 5
- 5
plot_transmission_timeline.py View File

j.start() j.start()


print("Started all jobs.") print("Started all jobs.")
# Ensure all of the processes have finished
# Ensure all the processes have finished
finished_job_counter = 0 finished_job_counter = 0
working = ["|", "/", "-", "\\", "|", "/", "-", "\\"] working = ["|", "/", "-", "\\", "|", "/", "-", "\\"]
w = 0 w = 0


plt.subplots_adjust() plt.subplots_adjust()


host.plot(transmission_df["goodput"], "-", color="blue", label="goodput")
host.set_xlabel("datetime")
host.set_ylabel("goodput [Mbps]")

# additional y axes # additional y axes
par11 = host.twinx() par11 = host.twinx()
par12 = host.twinx() par12 = host.twinx()
par12.axis["right"].toggle(all=True) par12.axis["right"].toggle(all=True)
# par13.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.plot(transmission_df["downlink_cqi"], "--", color="green", label="CQI")
par11.set_ylabel("CQI") par11.set_ylabel("CQI")
par11.set_ylim([0, 15]) par11.set_ylim([0, 15])

Loading…
Cancel
Save