iccsa-20-wind

Virtual Testbed: Simulation of Air Flow Around Ship Hull and Its Effect on Ship Motions
git clone https://git.igankevich.com/iccsa-20-wind.git
Log | Files | Refs

ship-roll-velocity.gnuplot (706B)


      1 set terminal svg dynamic size 1080/6, 1080/6 round enhanced font 'Liberation Sans, 10'
      2 s = 180.0/pi
      3 #static_roll = 0.247885
      4 #static_roll = 0.246736
      5 static_roll = 0
      6 
      7 unset key
      8 set grid
      9 set border 1+2 back
     10 set xtics nomirror out offset 0,0.5
     11 set ytics nomirror out offset 0.5,0
     12 #set xrange [0:*]
     13 #set yrange [0:*]
     14 load 'gnuplot/rdbu.pal'
     15 
     16 set xlabel 'Wind velocity, m/s' offset 0,1
     17 set ylabel 'Roll angle, °' offset 1.5,0
     18 set output 'build/gnuplot/ship-roll.svg'
     19 plot 'gnuplot/wind-aurora.dat' using 1:($3*s) with linespoints ls 1 lw 2 pt 7 ps 0.5
     20 
     21 set ylabel 'Ship velocity, m/s'
     22 set output 'build/gnuplot/ship-velocity.svg'
     23 plot 'gnuplot/wind-aurora.dat' using 1:2 with linespoints ls 1 lw 2 pt 7 ps 0.5
     24