figures
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 127 KiB |
Before Width: | Height: | Size: 156 KiB After Width: | Height: | Size: 145 KiB |
Before Width: | Height: | Size: 183 KiB After Width: | Height: | Size: 175 KiB |
Before Width: | Height: | Size: 183 KiB After Width: | Height: | Size: 175 KiB |
@@ -5,6 +5,7 @@ import math
|
|||||||
sns.set(style="white", context="talk")
|
sns.set(style="white", context="talk")
|
||||||
plt.rcdefaults()
|
plt.rcdefaults()
|
||||||
DPI=600
|
DPI=600
|
||||||
|
BBOX_INCHES='tight'
|
||||||
|
|
||||||
def autolabel(ax, rect):
|
def autolabel(ax, rect):
|
||||||
"""
|
"""
|
||||||
@@ -29,9 +30,9 @@ ax.set_xticklabels(systems)
|
|||||||
ax.set_ylabel("Execution Time (ms)")
|
ax.set_ylabel("Execution Time (ms)")
|
||||||
handles, labels = ax.get_legend_handles_labels()
|
handles, labels = ax.get_legend_handles_labels()
|
||||||
ax.legend(handles, labels)
|
ax.legend(handles, labels)
|
||||||
sns.despine()
|
sns.despine(trim=True)
|
||||||
plt.savefig(path+'.pdf')
|
plt.savefig(path+'.pdf', bbox_inches=BBOX_INCHES)
|
||||||
plt.savefig(path+'.png', dpi=DPI)
|
plt.savefig(path+'.png', dpi=DPI, bbox_inches=BBOX_INCHES)
|
||||||
print path
|
print path
|
||||||
|
|
||||||
|
|
||||||
@@ -66,9 +67,9 @@ handles, labels = ax.get_legend_handles_labels()
|
|||||||
ax.legend(handles, labels)
|
ax.legend(handles, labels)
|
||||||
# plt.ylim([1, 1e4])
|
# plt.ylim([1, 1e4])
|
||||||
# ax.set_title('How fast do you want to go today?')
|
# ax.set_title('How fast do you want to go today?')
|
||||||
sns.despine()
|
sns.despine(trim=True)
|
||||||
plt.savefig(path+'.pdf')
|
plt.savefig(path+'.pdf', bbox_inches=BBOX_INCHES)
|
||||||
plt.savefig(path+'.png', dpi=DPI)
|
plt.savefig(path+'.png', dpi=DPI, bbox_inches=BBOX_INCHES)
|
||||||
print path
|
print path
|
||||||
|
|
||||||
path='figures/mlfmm_bw'
|
path='figures/mlfmm_bw'
|
||||||
@@ -96,8 +97,8 @@ ax.set_xticks(x_pos)
|
|||||||
ax.set_xticklabels(systems)
|
ax.set_xticklabels(systems)
|
||||||
ax.set_ylabel("Per-MLFMM Execution Time (ms)")
|
ax.set_ylabel("Per-MLFMM Execution Time (ms)")
|
||||||
ax2.set_ylabel("Speedup over 1T")
|
ax2.set_ylabel("Speedup over 1T")
|
||||||
plt.savefig(path+'.pdf')
|
plt.savefig(path+'.pdf', bbox_inches=BBOX_INCHES)
|
||||||
plt.savefig(path+'.png', dpi=DPI)
|
plt.savefig(path+'.png', dpi=DPI, bbox_inches=BBOX_INCHES)
|
||||||
print path
|
print path
|
||||||
|
|
||||||
|
|
||||||
@@ -125,8 +126,8 @@ ax.set_xticks(x_pos)
|
|||||||
ax.set_xticklabels(systems)
|
ax.set_xticklabels(systems)
|
||||||
ax.set_ylabel("Per-MLFMM Execution Time (ms)")
|
ax.set_ylabel("Per-MLFMM Execution Time (ms)")
|
||||||
ax2.set_ylabel("Speedup over 1T")
|
ax2.set_ylabel("Speedup over 1T")
|
||||||
plt.savefig(path+'.pdf')
|
plt.savefig(path+'.pdf', bbox_inches=BBOX_INCHES)
|
||||||
plt.savefig(path+'.png', dpi=DPI)
|
plt.savefig(path+'.png', dpi=DPI, bbox_inches=BBOX_INCHES)
|
||||||
print path
|
print path
|
||||||
|
|
||||||
|
|
||||||
|