rename to main, add figure script

This commit is contained in:
Carl Pearson
2017-05-04 14:13:35 -05:00
parent ef31c330b1
commit 5df077621d
5 changed files with 46 additions and 0 deletions

16
figures/plots.py Normal file
View File

@@ -0,0 +1,16 @@
import matplotlib.pyplot as plt
plt.rcdefaults()
import numpy as np
import matplotlib.pyplot as plt
plt.rcdefaults()
fig, ax = plt.subplots()
systems = ('BW', "Minsky")
performance = (10, 100)
x_pos = np.arange(len(systems))
ax.bar(x_pos, performance, align='center', color='gray', ecolor='black')
ax.set_xticks(x_pos)
ax.set_xticklabels(systems)
ax.set_ylabel("MLFMM Time (ms)")
# ax.set_title('How fast do you want to go today?')
plt.savefig('figures/test.pdf')