소스 검색

Bugfix, plot ack_rtt

master
langspielplatte 2 년 전
부모
커밋
04f1d78741
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. +5
    -5
      plot_transmission_timeline.py

+ 5
- 5
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])

Loading…
취소
저장