Added x axis label
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user