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:
#!/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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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: