From 0730e77eb4aa9841e90a17f190b9ae7d80565054 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 16 Jun 2025 17:09:43 +0200 Subject: Initial commit Signed-off-by: Toni Uhlig --- gnuplot.script | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 gnuplot.script (limited to 'gnuplot.script') diff --git a/gnuplot.script b/gnuplot.script new file mode 100755 index 0000000..a75243a --- /dev/null +++ b/gnuplot.script @@ -0,0 +1,12 @@ +#!/usr/bin/env gnuplot + +set terminal png +set output "rtt.png" +f(x) = mean_rtt +fit f(x) 'rtt.dat' u 1:2 via mean_rtt +stddev_rtt = sqrt(FIT_WSSR / (FIT_NDF + 1 )) +set title "Packets vs. RTT" +set xlabel "Packet Number" +set ylabel "RTT in usec" + +plot "rtt.dat" with lines, mean_rtt w l lt 3, stddev_rtt w l lt 3 lc rgb '#bbbbdd' -- cgit v1.2.3