mpp-time-color.gnu (1020B)
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,9*100/3.5 \ 12 font "Open Sans Regular, 14" \ 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 'Time, s' offset 2.25,0 18 19 set xtics 1,1 20 set ytics 0,30 21 set yrange [0:*] 22 23 set output 'mpp-time-color.svg' 24 plot \ 25 'time-no-faults.tsv' using 1:2 with lines smooth csplines ls 1 title 'Time without failures',\ 26 'time-slave-fault.tsv' using 1:2 with lines smooth csplines ls 2 title 'Time with a slave node failure',\ 27 'time-master-fault.tsv' using 1:2 with points ls 3 title 'Time with a master node failure',\ 28 'time-backup-node-fault.tsv' using 1:2 with lines smooth csplines ls 4 title 'Time with a backup node failure' 29