17 lines
359 B
Plaintext
17 lines
359 B
Plaintext
# 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 1
|
|
|
|
set term wx persist size 900,600
|
|
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"
|