Example: your data is already in CSV format in "z.plt", this one-line command will render a plot and show it in the terminal:
gnuplot -e 'set terminal png ; set output "plot.png"; plot "z.plt" using 0:7 with lines' && imgcat plot.png
This is great for testing web site performance. The previous one line ran Apache Bench to beat the crap out of my local server, and write the output into a Gnuplot-compatible CSV file:
ab -n10000 -c100 -g z.plt http://192.168.64.3:30260/
Sunday, August 13, 2017
Subscribe to:
Posts (Atom)