summaryrefslogtreecommitdiff
path: root/report/Figures/mean_plot.gnu
blob: e86137d50a006b494aecc2f52762ee6a4d8dfb03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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