Mike Blue - 2015-10-13

I have written a shell script that looks at memory usage of a program and uses date to make a datetime stamp to a log file.

Link to data file

1) How can I make the chart wider to make the x-axis so I can read it?
2) Suggestions for converting the datetime stamp into something human readable?

Here is my gnuplot script:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#!/usr/bin/gnuplot
set terminal png
set output "plot.png"

set xdata time
set timefmt "%Y-%m-%d %H:%M:%S"
set format x "%H:%M"

set xlabel "time"
set ylabel "mem usage"

set title "memory use vs time"
set key reverse Left outside
set grid

set style data linespoints
plot "data.txt" using 1:3