zoomed in on shyloc results

This commit is contained in:
Erik Örtenberg 2025-06-16 15:06:14 +02:00
parent 45e3ffbd36
commit 4dc25571f8

View File

@ -12,7 +12,7 @@ configs = {
}
x = np.arange(len(packet_sizes)) # the label locations
ys = np.arange(0,3,0.125)
ys = np.arange(0,1,2**-5)
width = 0.25 # the width of the bars
multiplier = 0
@ -24,7 +24,7 @@ for attribute, measurement in configs.items():
##ax.bar_label(rects, padding=15+multiplier*40,fontsize=text_size)
multiplier += 1
plt.plot([-0.125,5.625],[0.4419,0.4419],lw=stroke)
plt.plot([-0.125,5.625],[0.4419,0.4419],lw=stroke, label="Ideal")
# Add some text for labels, title and custom x-axis tick labels, etc.
ax.set_ylabel('Throughput (B/C)',fontsize=text_size)
ax.set_xlabel('Packet Size (B/P)',fontsize=text_size)
@ -32,6 +32,6 @@ ax.set_title('Throughput during SHyLoC compression (1904B uncompressed, 1664B co
ax.set_xticks(x + width, packet_sizes,fontsize=text_size)
ax.set_yticks(ys, ys,fontsize=text_size)
ax.legend(loc='upper left', ncols=2,fontsize=text_size)
ax.set_ylim(0, 1)
ax.set_ylim(0.4, 0.47)
plt.show()