diff options
| author | Connor Moore <connor@hhmoore.ca> | 2026-03-23 01:40:30 -0400 |
|---|---|---|
| committer | Connor Moore <connor@hhmoore.ca> | 2026-03-23 01:40:30 -0400 |
| commit | 5b08f435327695bb633cd21ae8252b25528de3f6 (patch) | |
| tree | 7eb5cdfa0acded8eaf8f1881e8542fe7b441d67c /report/Figures/2.gnu | |
| parent | f7ad40d801e30f542baaf471e0b0d08aacc212ee (diff) | |
Diffstat (limited to 'report/Figures/2.gnu')
| -rw-r--r-- | report/Figures/2.gnu | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/report/Figures/2.gnu b/report/Figures/2.gnu new file mode 100644 index 0000000..7312e56 --- /dev/null +++ b/report/Figures/2.gnu @@ -0,0 +1,39 @@ +#set term x11 persist +set term cairolatex pdf size 5in,3in +set output "fig42.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 per Sector [N/s]" +set ylabel "Wall Time [s]" +set logscale xy +set key outside top center horizontal +set grid + +#sectors = "1 4 16 64 256 1024" +particles = "1 4 16 64 256 1024 2048 4096" +#sectors = "1" +threads = "1" +# header, thread, particles +plot for [n in particles] sprintf("< awk -F',' 'NR > 1 && $3 == %d && $2 == %d' joedata.csv", int(threads),int(n)) \ + using ($2/$4):5 with linespoints title n." Particles" + |
