# The `sample_file` variable should contain the path to the variable to plot.

set title sample_file

set xlabel "Runtime (seconds)"
set ylabel "Memory (MB)"

set xtics 2

set term wx persist size 1024,760
set grid

set style line 1 lc rgb "#0060ad" lt 1 lw 2 pt 7 ps 1
set style data linespoints

plot sample_file using 1:($2 / 1024 ** 2) ls 1 title "Memory"
