2014-05-01 18:54:25 +00:00
|
|
|
# The `sample_file` variable should contain the path to the variable to plot.
|
|
|
|
|
|
|
|
set title sample_file
|
|
|
|
|
2014-05-01 19:26:05 +00:00
|
|
|
set xlabel "Runtime (seconds)"
|
2014-05-01 18:54:25 +00:00
|
|
|
set ylabel "Memory (MB)"
|
|
|
|
|
2014-05-01 19:47:51 +00:00
|
|
|
set xtics 2
|
2014-05-01 18:54:25 +00:00
|
|
|
|
2014-05-01 19:47:51 +00:00
|
|
|
set term wx persist size 1024,760
|
2014-05-01 18:54:25 +00:00
|
|
|
set grid
|
|
|
|
|
|
|
|
set style line 1 lc rgb "#0060ad" lt 1 lw 2 pt 7 ps 1
|
2014-05-01 19:26:05 +00:00
|
|
|
set style data linespoints
|
2014-05-01 18:54:25 +00:00
|
|
|
|
2014-05-01 19:26:05 +00:00
|
|
|
plot sample_file using 1:($2 / 1024 ** 2) ls 1 title "Memory"
|