pfor/scripts/result_sizes_1.plot

27 lines
774 B
Gnuplot
Executable File

#!/usr/bin/gnuplot
set encoding iso_8859_1
set terminal postscript eps enhanced
set notitle
set xlabel "Array Size (log_{10})"
set ylabel "Execution Time (log_{10})"
set output "./scripts/result_sizes_1.eps"
set key top left
set style line 1 lt 1 lw 3
set style line 2 lt 7 lw 3
set style line 3 lt 2 lw 3
set style line 4 lt 1 lw 1
set style line 5 lt 5 lw 3
set style function lines
set logscale xy 10
plot './scripts/result_sizes_1.csv' using 1:3 with lines linestyle 1 title "sequential", \
'./scripts/result_sizes_1.csv' using 1:7 with lines linestyle 2 title "openmp", \
'./scripts/result_sizes_1.csv' using 1:11 with lines linestyle 3 title "tmp+openmp", \
'./scripts/result_sizes_1.csv' using 1:15 with lines linestyle 4 title "tmp+thread"
quit