summaryrefslogtreecommitdiff
path: root/class/ke_compare.gnu
diff options
context:
space:
mode:
Diffstat (limited to 'class/ke_compare.gnu')
-rw-r--r--class/ke_compare.gnu15
1 files changed, 15 insertions, 0 deletions
diff --git a/class/ke_compare.gnu b/class/ke_compare.gnu
new file mode 100644
index 0000000..e09d021
--- /dev/null
+++ b/class/ke_compare.gnu
@@ -0,0 +1,15 @@
+set term cairolatex pdf size 5in,3in
+set output "kinetic_energy.tex"
+#set term x11 persist
+set linetype 1 lc rgb '#E41A1C' pt 7 ps 0.3
+set linetype 2 lc rgb '#377EB8' pt 7 ps 0.3
+set linetype 3 lc rgb '#4DAF4A' pt 7 ps 0.3
+set linetype 4 lc rgb '#984EA3' pt 7 ps 0.3
+
+set xlabel "Time [s]"
+set ylabel "$\\sum$(Kinetic Energy) [J]"
+set offsets graph 0.1, graph 0.1, graph 0.1, graph 0.1
+set key outside top horizontal center
+
+plot 'kinetic_without_slowdown' using 1:2 with linespoints lt 1 title "No External Force", \
+ 'kinetic_with_slowdown' using 1:($2-4.50993810539) with linespoints lt 2 title "External Force"