diff --git a/data_visualisation.py b/data_visualisation.py index 732c6a9..803f02a 100644 --- a/data_visualisation.py +++ b/data_visualisation.py @@ -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",