grid-14-virt-clusters

Applications of on-demand virtual clusters to high performance computing
git clone https://git.igankevich.com/grid-14-virt-clusters.git
Log | Files | Refs

plot-for-pres.gp (1024B)


      1 #!/usr/bin/gnuplot -persist
      2 
      3 set terminal svg enhanced dashed round size 1600/5, 900/4 font "DejaVU Sans,12" 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 4 lc rgb "#202020" lw 2
      9 set style line 5 lt 1 lc rgb "#0e3f5d"
     10 set style line 6 lt 1 lc rgb "#202020" lw 2
     11 set style line 7 lt 1 lc rgb "#202020"
     12 set style line 8 lt 2 lc rgb "#202020" lw 2
     13 set style line 9 lt 3 lc rgb "#202020" lw 4
     14 
     15 unset grid
     16 
     17 set yrange [0:*]
     18 set xtics 8,8 add ('1' 1) nomirror out
     19 set xlabel 'Кол-во ядер'
     20 set ytics 0,1 nomirror out
     21 set ylabel 'Время [с]'
     22 set border ls 7
     23 
     24 pre = 0
     25 post = 0
     26 set border 3 ls 7
     27 set key left bottom reverse Left maxrows 2
     28 set ytics 0,30 nomirror out
     29 set xtics ('4' 4, '9' 9, '16' 16, '25' 25, '36' 36, '49' 49, '64' 64) nomirror out
     30 set output 'openfoam-3.svg'
     31 set yrange [50:*]
     32 set xrange [16:*]
     33 plot 'openfoam-pres' using 1:((pre*$2+$3+post*$4)/1) with lines ls 1 smooth csplines notitle