mpp-time-color-diff.gnu (1001B)
1 #!/usr/bin/gnuplot -persist 2 3 load 'style-perf-plot.gnu' 4 5 set style line 1 lw 2 lc rgb '#9F2D20' 6 set style line 2 lw 2 lc rgb '#404040' dashtype (8,6) 7 set style line 3 lw 2 lc rgb '#404040' pointtype 6 8 set style line 4 lw 2 lc rgb '#404040' dashtype (3,3) 9 set style line 5 lw 2 lc rgb '#404040' dashtype (2,5) 10 11 set terminal svg size 16*100/3.5,9*100/4 \ 12 font "Times, 12" \ 13 lw 1 rounded dashed enhanced 14 15 set key top center Left reverse width -20 16 set xlabel 'Initial no. of nodes' 17 set ylabel 'Performance ratio' offset 2.25,0 18 19 set xtics 1,1 20 set ytics 0,1,3 21 set yrange [0:3] 22 23 set output 'mpp-time-color-diff.svg' 24 plot \ 25 '< paste time-slave-fault.tsv time-no-faults.tsv' using 1:($2/$10) with lines ls 2 title 'Time with a slave node failure',\ 26 '< paste time-master-fault.tsv time-no-faults.tsv' using 1:($2/$10) with points ls 3 title 'Time with a master node failure',\ 27 '< paste time-backup-node-fault.tsv time-no-faults.tsv' using 1:($2/$10) with lines ls 4 title 'Time with a backup node failure' 28