Last active
May 24, 2016 05:23
-
-
Save devilholk/96f9190cbd5f8a27a874d0cc0f38b425 to your computer and use it in GitHub Desktop.
Ping times plotting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set terminal png size 1600,800 enhanced font "DejaVuSans,12" background rgb '#ff101010' | |
set output 'pingplot.png' | |
set title 'Svarstider (IPv4 ICMP Ping) till ping.sunet.se' textcolor rgb "#FF80C0FF" font "DejaVuSans-Bold,16" | |
set xdata time | |
set format x "%Y-%m-%d %H:%M:%S" | |
set rmargin at screen 0.85 | |
set xlabel 'Datum' textcolor rgb "#FFC080FF" | |
set ylabel 'Svarstid (mS)' textcolor rgb "#FFC080FF" | |
set xtics 3600 textcolor rgb "#FFFFCCCC" | |
set xtics nomirror rotate by -45 | |
set ytics textcolor rgb "#FFFFCCCC" | |
set timefmt "%s" | |
set border linecolor rgb "#FF808080" | |
set key off | |
# ($1+2*3600) är till för att justera för tidssonen från epoktiden till lokal tid, vi kastar på två timmar | |
plot "sunet_ping_ts.log" using ($1+2*3600):2 with points pointtype 1 pointsize 0.2 linecolor rgb "#FFC0FF80" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment