From ba9dae8bdea35fbb1d2ffbf24279af3f1c912a5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20F=C3=BCrst?= Date: Mon, 22 Jan 2024 13:37:38 +0100 Subject: [PATCH] export plots from the benchmarks as pdf for scalability and integration with thesis --- benchmarks/benchmark-plotters/plot-cost-mtsubmit.py | 2 +- benchmarks/benchmark-plotters/plot-perf-peakthroughput-bar.py | 2 +- benchmarks/benchmark-plotters/plot-perf-submitmethod.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/benchmark-plotters/plot-cost-mtsubmit.py b/benchmarks/benchmark-plotters/plot-cost-mtsubmit.py index 2d1ece5..3587d1e 100644 --- a/benchmarks/benchmark-plotters/plot-cost-mtsubmit.py +++ b/benchmarks/benchmark-plotters/plot-cost-mtsubmit.py @@ -94,7 +94,7 @@ def main(): sns.barplot(x=x_label, y=y_label, hue=var_label, data=df, palette="rocket", errorbar="sd") - plt.savefig(os.path.join(output_path, "plot-perf-mtsubmit.png"), bbox_inches='tight') + plt.savefig(os.path.join(output_path, "plot-perf-mtsubmit.pdf"), bbox_inches='tight') plt.show() diff --git a/benchmarks/benchmark-plotters/plot-perf-peakthroughput-bar.py b/benchmarks/benchmark-plotters/plot-perf-peakthroughput-bar.py index 121612c..7ddefcb 100644 --- a/benchmarks/benchmark-plotters/plot-perf-peakthroughput-bar.py +++ b/benchmarks/benchmark-plotters/plot-perf-peakthroughput-bar.py @@ -79,7 +79,7 @@ def plot_bar(table,title,node_config): plt.ylim(0, 100) - plt.savefig(os.path.join(output_path, f"plot-perf-{node_config}-throughput-selectbarplot.png"), bbox_inches='tight') + plt.savefig(os.path.join(output_path, f"plot-perf-{node_config}-throughput-selectbarplot.pdf"), bbox_inches='tight') plt.show() diff --git a/benchmarks/benchmark-plotters/plot-perf-submitmethod.py b/benchmarks/benchmark-plotters/plot-perf-submitmethod.py index e1d6c69..fd1cb13 100644 --- a/benchmarks/benchmark-plotters/plot-perf-submitmethod.py +++ b/benchmarks/benchmark-plotters/plot-perf-submitmethod.py @@ -101,7 +101,7 @@ def main(): sns.barplot(x=x_label, y=y_label, hue=var_label, data=df, palette="rocket", errorbar="sd") - plt.savefig(os.path.join(output_path, "plot-opt-submitmethod.png"), bbox_inches='tight') + plt.savefig(os.path.join(output_path, "plot-opt-submitmethod.pdf"), bbox_inches='tight') plt.show() if __name__ == "__main__":