From a9e15792427de584c11f0b1e9b078d406e454bc8 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 21 Apr 2021 17:54:08 +0200 Subject: [PATCH] osu: remove gsub hack --- garlic/fig/osu/latency.R | 2 +- garlic/fig/osu/mtu.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/garlic/fig/osu/latency.R b/garlic/fig/osu/latency.R index bb018e6..e116a73 100644 --- a/garlic/fig/osu/latency.R +++ b/garlic/fig/osu/latency.R @@ -40,7 +40,7 @@ w=6 p = ggplot(data=df, aes(x=size, y=medianLatency)) + labs(x="Message size", y="Median latency (µs)", #title=sprintf("OSU benchmark: osu_latency", nodes, tasksPerNode, cpusPerTask), - subtitle=gsub("-", "\uad", output)) + + subtitle=output) + geom_line(aes(linetype=unitName)) + geom_point(aes(shape=unitName), size=2) + scale_y_log10(breaks = breaks, minor_breaks = minor_breaks) + diff --git a/garlic/fig/osu/mtu.R b/garlic/fig/osu/mtu.R index c009a71..09e2f63 100644 --- a/garlic/fig/osu/mtu.R +++ b/garlic/fig/osu/mtu.R @@ -56,7 +56,7 @@ p = ggplot(data=df, aes(x=sizeKB, y=bw)) + geom_vline(aes(xintercept = PSM2_MTU.val/1024), color="red") + labs(x="Message size (KiB)", y="Bandwidth (GB/s)", #title=sprintf("OSU benchmark: osu_bw --iterations %d", iterations), - subtitle=gsub("-", "\uad", output)) + + subtitle=output) + geom_point(shape=21, size=2) + #annotate("text", x = 10.2, y = 8.5e3, label = "MTU = 10KB", color="red", hjust=0) + facet_wrap(vars(PSM2_MTU), nrow=3, labeller = "label_both") +