rename to main, add figure script
This commit is contained in:
16
figures/plots.py
Normal file
16
figures/plots.py
Normal 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')
|
Reference in New Issue
Block a user