iccsa-20-waves

Virtual Testbed: Simulation of Ocean Wave Reflection from the Ship Hull
git clone https://git.igankevich.com/iccsa-20-waves.git
Log | Files | Refs

surface-with-ship-3d.gnuplot (1056B)


      1 set terminal svg size 1920/3,1080/3 dynamic font 'Liberation Sans, 10'
      2 #set hidden3d back offset 0 trianglepattern 3 undefined 1 altdiagonal bentover
      3 set view equal xyz
      4 set view ,,4
      5 #set view map
      6 set xrange [-100:100]
      7 set yrange [-100:100]
      8 set cbrange [-2:2]
      9 set cbtics -2,0.5,2
     10 set palette defined (0 '#404040', 1 '#fffff0', 2 '#0040f0')
     11 unset key
     12 set xtics nomirror out offset 0,0.5
     13 set ytics nomirror out offset 0.5,0
     14 unset x2tics
     15 unset y2tics
     16 unset ztics
     17 set border
     18 set xlabel 'x, m' offset 0,1
     19 set ylabel 'y, m' offset 1,0
     20 set pm3d  
     21 set style data pm3d
     22 set dgrid3d 200,200 exp
     23 set output 'build/gnuplot/surface-with-ship-3d.svg'
     24 #set multiplot
     25 #set colorbox user origin 1,0
     26 #set cbtics
     27 #set cblabel 'Wave amplitude, m' offset -1,0
     28 unset colorbox
     29 unset border
     30 unset xtics
     31 unset ytics
     32 unset ztics
     33 unset grid
     34 unset xzeroaxis
     35 unset yzeroaxis
     36 unset zzeroaxis
     37 unset xlabel
     38 unset ylabel
     39 unset zlabel
     40 set palette gray
     41 splot 'data/surface-diffraction-aurora.dat' with pm3d
     42 #unset dgrid3d
     43 #set palette gray
     44 #splot 'ships/aurora.gnuplot' using ($1-123.8/2):2:3