diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2025-06-16 17:09:43 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2025-06-18 15:16:30 +0200 |
commit | 0730e77eb4aa9841e90a17f190b9ae7d80565054 (patch) | |
tree | b214414fb23070fcfcbfc880f78eb7b4cef987c8 /gnuplot.script |
Initial commitmain
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'gnuplot.script')
-rwxr-xr-x | gnuplot.script | 12 |
1 files changed, 12 insertions, 0 deletions
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' |