figures
This commit is contained in:
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 49 KiB |
@@ -11,14 +11,14 @@ BBOX_INCHES='tight'
|
|||||||
path = 'figures/cpu_matvec'
|
path = 'figures/cpu_matvec'
|
||||||
fig, ax = plt.subplots(figsize=(6, 3))
|
fig, ax = plt.subplots(figsize=(6, 3))
|
||||||
systems = ('XE (32T)', "S822LC (160T)")
|
systems = ('XE (32T)', "S822LC (160T)")
|
||||||
mlfmm = (8.65e4, 4.84e4)
|
mlfmm = (8.65e1, 4.84e1)
|
||||||
total = (1.2e5, 5.77e4)
|
total = (1.2e2, 5.77e1)
|
||||||
x_pos = np.arange(len(systems))
|
x_pos = np.arange(len(systems))
|
||||||
ax.bar(x_pos, mlfmm, color='0.4', label='MLFMM')
|
ax.bar(x_pos, mlfmm, color='0.4', label='MLFMM')
|
||||||
ax.bar(x_pos, [i-j for i,j in zip(total, mlfmm)], color='0.8', bottom=mlfmm, label='Non-MLFMM')
|
ax.bar(x_pos, [i-j for i,j in zip(total, mlfmm)], color='0.8', bottom=mlfmm, label='Non-MLFMM')
|
||||||
ax.set_xticks(x_pos)
|
ax.set_xticks(x_pos)
|
||||||
ax.set_xticklabels(systems)
|
ax.set_xticklabels(systems)
|
||||||
ax.set_ylabel("Execution Time (ms)")
|
ax.set_ylabel("Execution Time (s)")
|
||||||
handles, labels = ax.get_legend_handles_labels()
|
handles, labels = ax.get_legend_handles_labels()
|
||||||
ax.legend(handles, labels)
|
ax.legend(handles, labels)
|
||||||
sns.despine(trim=True)
|
sns.despine(trim=True)
|
||||||
|
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user