Added x axis label
This commit is contained in:
@@ -69,6 +69,8 @@ x = df_cores.year
|
|||||||
y = df_cores.cores
|
y = df_cores.cores
|
||||||
plt.scatter(x, y, marker = "o", color = black, alpha = alpha)
|
plt.scatter(x, y, marker = "o", color = black, alpha = alpha)
|
||||||
|
|
||||||
|
plt.xlabel("Year")
|
||||||
|
|
||||||
plt.legend(["Transistors (thousands)",
|
plt.legend(["Transistors (thousands)",
|
||||||
"Single-thread SPECint (thousands)",
|
"Single-thread SPECint (thousands)",
|
||||||
"Frequency (MHz)",
|
"Frequency (MHz)",
|
||||||
@@ -78,8 +80,6 @@ plt.legend(["Transistors (thousands)",
|
|||||||
bbox_to_anchor=(1.0, 1.0),
|
bbox_to_anchor=(1.0, 1.0),
|
||||||
fontsize = "medium")
|
fontsize = "medium")
|
||||||
|
|
||||||
plt.text(100, 100, "This is a text")
|
|
||||||
|
|
||||||
plt.text(0.805, 0.155,
|
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.",
|
"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",
|
fontsize = "x-small",
|
||||||
|
|||||||
Reference in New Issue
Block a user