From 5b08f435327695bb633cd21ae8252b25528de3f6 Mon Sep 17 00:00:00 2001 From: Connor Moore Date: Mon, 23 Mar 2026 01:40:30 -0400 Subject: New report and code for final submission. --- report/Figures/1.gnu | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 report/Figures/1.gnu (limited to 'report/Figures/1.gnu') diff --git a/report/Figures/1.gnu b/report/Figures/1.gnu new file mode 100644 index 0000000..fa709ce --- /dev/null +++ b/report/Figures/1.gnu @@ -0,0 +1,39 @@ +#set term x11 persist +set term cairolatex pdf size 5in,3in +set output "fig41.tex" + +set datafile separator "," +set datafile missing NaN + +ptsize = 0.5 + +# R ColorBrewer theme (minus yellow) +set linetype 1 lc rgb '#E41A1C' pt 7 ps ptsize +set linetype 2 lc rgb '#377EB8' pt 7 ps ptsize +set linetype 3 lc rgb '#4DAF4A' pt 7 ps ptsize +set linetype 4 lc rgb '#984EA3' pt 7 ps ptsize +set linetype 5 lc rgb '#FF7F00' pt 7 ps ptsize +set linetype 6 lc rgb '#A65628' pt 7 ps ptsize +set linetype 7 lc rgb '#F781BF' pt 7 ps ptsize +set linetype 8 lc rgb '#999999' pt 7 ps ptsize +set linetype 9 lc rgb '#8DD3C7' pt 7 ps ptsize +set linetype 10 lc rgb '#BEBADA' pt 7 ps ptsize +set linetype 11 lc rgb '#FB8072' pt 7 ps ptsize + + +set format x "$10^{%L}$" +set format y "$10^{%L}$" + +set xlabel "Number of Particles [N]" +set ylabel "Wall Time [s]" +set logscale xy +set key top left +set grid + +sectors = "1 4 16 64 256 1024" +#sectors = "1" +threads = "1" + +plot for [s in sectors] sprintf("< awk -F',' 'NR > 1 && $3 == %d && $4 == %d' joedata.csv", int(threads),int(s)) \ + using 2:5 with linespoints title s." Sectors" + -- cgit v1.2.3