plot-ping.gp (1354B)
1 #!/usr/bin/gnuplot -persist 2 3 set terminal svg dashed round size 1600/6*0.94, 900/5*0.94 font "Times New Roman,10" round 4 5 set style line 1 lt 1 lc rgb "#202020" lw 2 6 set style line 2 lt 2 lc rgb "#202020" lw 2 7 set style line 3 lt 3 lc rgb "#202020" lw 2 8 set style line 4 lt 1 lc rgb "#202020" 9 set style line 5 lt 1 lc rgb "#0e3f5d" 10 set style line 6 lt 1 lc rgb "#202020" lw 4 11 set style line 7 lt 1 lc rgb "#202020" 12 set style line 8 lt 2 lc rgb "#202020" lw 4 13 set style line 9 lt 3 lc rgb "#202020" lw 4 14 15 unset grid 16 set border 3 17 18 #set xrange [1:25] 19 set yrange [0:*] 20 set xtics 8,8 add ('1' 1) nomirror out 21 set xlabel 'No. of cores' 22 set ytics 0,1 nomirror out 23 set ylabel 'Time [s]' 24 set border ls 7 25 set key center top outside Left reverse maxrows 1 26 27 #set output 'ping.svg' 28 #set multiplot layout 1, 2 29 set output 'ping-1.svg' 30 plot 'mpi.dat.avg' using 1:($2+$3+$4) with lines ls 1 title 'LXC',\ 31 'mpi.phys.dat.avg' using 1:2 with lines ls 2 title 'Phys.' 32 33 set key center top outside Left reverse maxrows 1 34 set output 'ping-2.svg' 35 plot 'mpi.dat.avg' \ 36 using 1:($2+$3+$4):2 with filledcurves ls 4 fs pattern 4 noborder title 'mpirun, destroy',\ 37 '' using 1:2:(0) with filledcurves ls 4 fs pattern 5 noborder title 'create',\ 38 '' using 1:2 with lines ls 1 notitle,\ 39 '' using 1:($2+$3+$4) with lines ls 1 notitle