pfor/scripts/result_cores_1.plot

25 lines
737 B
Gnuplot
Executable File

#!/usr/bin/gnuplot
set encoding iso_8859_1
set terminal postscript eps enhanced
set notitle
set xlabel "Number of Cores"
set ylabel "Execution Time"
set output "./scripts/result_cores_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
plot './scripts/result_cores_1.csv' using 1:3 with lines linestyle 1 title "sequential", \
'./scripts/result_cores_1.csv' using 1:7 with lines linestyle 2 title "openmp", \
'./scripts/result_cores_1.csv' using 1:11 with lines linestyle 3 title "tmp+openmp", \
'./scripts/result_cores_1.csv' using 1:15 with lines linestyle 4 title "tmp+thread"
quit