make_plot.py 409 Bytes
Newer Older
wx002's avatar
wx002 committed
1 2 3 4 5 6 7 8 9 10 11 12 13
import matplotlib.pyplot as plt
import numpy as np

x = ['Ideal','Good','Medium']
y = [1410.0857887050586, 135.1386281553791, 70.00680633241944]
title = 'Transfer rate in bytes per second benchmarks for RDT'
y_pos = np.arange(len(x))
plt.bar(y_pos, y, align='center')
plt.xticks(y_pos, x)
plt.ylabel('Transfer rate in bytes per second')
plt.xlabel('Network Conditions')
plt.title(title)
plt.show()