From 88087bb4b7aed646c156fa37de196c7fbf6df4ad Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 3 Mar 2021 18:31:43 +0100 Subject: [PATCH] nbody: add time-node plot --- garlic/fig/nbody/baseline.R | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/garlic/fig/nbody/baseline.R b/garlic/fig/nbody/baseline.R index b0c73c3..11584dd 100644 --- a/garlic/fig/nbody/baseline.R +++ b/garlic/fig/nbody/baseline.R @@ -198,3 +198,14 @@ p = ggplot(D, aes(x=nodesFactor)) + scale_y_continuous(trans=log2_trans()) print(p) dev.off() + + +png("time-nodes.png", width=w*ppi, height=h*ppi, res=ppi) +p = ggplot(D, aes(x=nodesFactor)) + + labs(x="Nodes", y="Time * nodes (s)", title="Nbody strong scaling") + + theme_bw() + + geom_line(aes(y=tn, group=gitBranch)) + + facet_grid(gitBranch ~ .) + + scale_y_continuous(trans=log2_trans()) +print(p) +dev.off()