Added x axis label

This commit is contained in:
Heiko J Schick
2021-11-21 22:03:43 +01:00
parent 8726c438f0
commit 71b86e1679
+2 -2
View File
@@ -69,6 +69,8 @@ x = df_cores.year
y = df_cores.cores
plt.scatter(x, y, marker = "o", color = black, alpha = alpha)
plt.xlabel("Year")
plt.legend(["Transistors (thousands)",
"Single-thread SPECint (thousands)",
"Frequency (MHz)",
@@ -78,8 +80,6 @@ plt.legend(["Transistors (thousands)",
bbox_to_anchor=(1.0, 1.0),
fontsize = "medium")
plt.text(100, 100, "This is a text")
plt.text(0.805, 0.155,
"Original data up to the year 2010 collected and plotted by\nM. Horowitz, F. Labonte, O. Shacham, K. Olukotun, \nL. Hammond, and C. Batten.",
fontsize = "x-small",