You are not logged in.
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.
#!/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:3How can I make the chart bigger and make the x-axis better so I can read it?
Last edited by maggie (2015-10-11 21:36:02)
Offline
Well now that the data file has gotten bigger the above script doesn't work at all. I updated the data.txt in the original post in case anyone has some ideas.
Offline