|
|
@ -68,12 +68,13 @@ def plot_bar(table,node_config,display_x,display_y): |
|
|
|
|
|
|
|
sns.barplot(x=x_label, y=y_label, data=table, palette="mako", errorbar="sd") |
|
|
|
|
|
|
|
plt.ylim(0, 75) |
|
|
|
plt.ylim(0, 70) |
|
|
|
plt.yticks([15,30,45,60,65]) |
|
|
|
plt.xlabel(display_x) |
|
|
|
plt.ylabel(display_y) |
|
|
|
|
|
|
|
plt.savefig(os.path.join(output_path, f"plot-{node_config}-throughput.pdf"), bbox_inches='tight') |
|
|
|
plt.show() |
|
|
|
|
|
|
|
|
|
|
|
def PlotAndrePeakResults(): |
|
|
|
data_peakbench_andre = [ |
|
|
@ -147,10 +148,11 @@ if __name__ == "__main__": |
|
|
|
] |
|
|
|
|
|
|
|
scaling_df = pd.DataFrame(data_scaling) |
|
|
|
sns.lineplot(x=x_dsacount, y=y_scaling, data=scaling_df, marker='o', linestyle='-', color='b', markersize=8) |
|
|
|
|
|
|
|
plt.figure(figsize=(2, 3)) |
|
|
|
fig = sns.lineplot(x=x_dsacount, y=y_scaling, data=scaling_df, marker='o', linestyle='-', color='b', markersize=8) |
|
|
|
plt.xticks([1,2,4,8]) |
|
|
|
plt.yticks([0.25,0.5,0.75,1.0]) |
|
|
|
plt.xlim(0,10) |
|
|
|
plt.ylim(0,1.25) |
|
|
|
plt.ylim(0.2,1.05) |
|
|
|
plt.savefig(os.path.join(output_path, f"plot-dsa-throughput-scaling.pdf"), bbox_inches='tight') |
|
|
|
plt.show() |
|
|
|
|