summaryrefslogtreecommitdiff
path: root/examples/particles/dkt2d/dkt.p
diff options
context:
space:
mode:
Diffstat (limited to 'examples/particles/dkt2d/dkt.p')
-rw-r--r--examples/particles/dkt2d/dkt.p22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/particles/dkt2d/dkt.p b/examples/particles/dkt2d/dkt.p
new file mode 100644
index 0000000..a7ebb8f
--- /dev/null
+++ b/examples/particles/dkt2d/dkt.p
@@ -0,0 +1,22 @@
+reset
+set grid
+set terminal pdf enhanced
+set xrange [0:6]
+set xtics 0,1,6
+set xlabel "Time [s]"
+
+set output "x_coordinates.pdf"
+set ylabel "horizontal position [m]"
+set yrange [0:0.02]
+set ytics 0,0.002,0.02
+set key left bottom
+plot "gnuplot.dat" using 1:4 with lines title "Leading Particle", \
+ "gnuplot.dat" using 1:5 with lines title "Trailing Particle"
+
+set output "y_coordinates.pdf"
+set ylabel "vertical position [m]"
+set yrange [0:0.08]
+set ytics 0,0.005,0.08
+set key left bottom
+plot "gnuplot.dat" using 1:2 with lines title "Leading Particle", \
+ "gnuplot.dat" using 1:3 with lines title "Trailing Particle"