tplotts.gp - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
 (HTM) git clone git://src.adamsgaard.dk/sphere
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
       tplotts.gp (1041B)
       ---
            1 #!/usr/bin/env gnuplot
            2 # Call this script with sid and gamma variables, e.g.
            3 #  $ gnuplot -e "sid='testrun'; gamma='4.3'; xmin='0.0'; xmax='1.0'; ymin='0.0'; ymax='1.0'" plotts.gp
            4 
            5 set title sid.", $\\gamma$ = ".gamma
            6 
            7 set term pngcairo size 50 cm,40 cm
            8 set out "../../img_out/".sid."-ts-x1x3.png"
            9 
           10 set palette defined (0 "blue", 0.5 "gray", 1 "red")
           11 
           12 set xlabel "$\\x^1$"
           13 set ylabel "$\\x^3$"
           14 set cblabel "Pressure [Pa]"
           15 
           16 set xrange [xmin:xmax]
           17 set yrange [ymin:ymax]
           18 
           19 set size ratio -1
           20 
           21 plot "../data/".sid."-ts-x1x3.txt" with circles palette fs transparent solid 0.4 noborder t "Particle",\
           22          "../data/".sid."-ts-x1x3-circ.txt" with circles lt 1 lc rgb "black" notitle,\
           23          "../data/".sid."-ts-x1x3-arrows.txt" using 1:2:3:4 with vectors head filled lt 1 lc rgb "black" t "Rotation",\
           24          "../data/".sid."-ts-x1x3-velarrows.txt" using 1:2:3:4 with vectors head filled lt 1 lc rgb "white" t "Translation",\
           25          "../data/".sid."-ts-x1x3-slips.txt" using 1:2:3:4 with vectors head filled lt 1 lc rgb "green" t "Slip"
           26