Skip to content

Instantly share code, notes, and snippets.

@donalod
Created September 21, 2014 20:02
Show Gist options
  • Save donalod/5a1bb6dcda0db98b50bc to your computer and use it in GitHub Desktop.
Save donalod/5a1bb6dcda0db98b50bc to your computer and use it in GitHub Desktop.
GNUPlot
# This is just a gnuplot conf file I have been using on some manipulated data from the Wifi.sh script results.
# First I parse out the high and low SNR to separate files and also slightly reformat the columns and then apply
# the below...
#
set terminal png size 2000, 800
set title "Normal SNR = 20 - 50dBm"
set output "snr_1.png"
set xdata time
set timefmt "%Y-%m-%d_%H.%M.%S"
set xlabel "Time"
set xzeroaxis
set key left top
set grid
set xlabel "Date/Time of Day of Interest"
set ylabel "SNR"
set yrange [ -30 : 60 ]
set xrange ["2014-09-19_10.00.00":"2014-09-19_24:00:00"]
set xzeroaxis linetype 3 linewidth 2.5
#set style line 11 lc rgb '#808080' lt 1
#set style line 1 lc rgb '#8b1a0e' pt 1 ps 1 lt 1 lw 2 # --- red
plot 'y' using 1:2 with linespoints lw 1 lt 2 lc 2 title 'High SNR','x' using 1:2 with linespoints lw 2 lt 1 title 'Low SNR''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment