summaryrefslogtreecommitdiff
path: root/class/mean_plot.gnu
diff options
context:
space:
mode:
authorConnor Moore <connor@hhmoore.ca>2026-03-20 11:16:50 -0400
committerConnor Moore <connor@hhmoore.ca>2026-03-20 11:16:50 -0400
commitf7ad40d801e30f542baaf471e0b0d08aacc212ee (patch)
tree6474c10e962b9591feb2d30d675e5c9620003e05 /class/mean_plot.gnu
parent6ff45fe556d3b49a1506c5882036f909c143ed85 (diff)
Updated class code
Diffstat (limited to 'class/mean_plot.gnu')
-rw-r--r--class/mean_plot.gnu20
1 files changed, 20 insertions, 0 deletions
diff --git a/class/mean_plot.gnu b/class/mean_plot.gnu
new file mode 100644
index 0000000..e86137d
--- /dev/null
+++ b/class/mean_plot.gnu
@@ -0,0 +1,20 @@
+#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 "RMSD [m]"
+set logscale xy
+set offsets graph 0.1, graph 0.1, graph 0.1, graph 0.1
+set nokey
+
+a=0
+cumsum(x)=(a=a+x,a)
+
+plot 'means.out' using 1:(cumsum($2)) with linespoints lt 1 notitle, \
+ 'means.out' with linespoints notitle, \
+ x**2 with lines dt 2