Skip to content

Instantly share code, notes, and snippets.

@donalod
Last active August 29, 2015 14:06
Show Gist options
  • Save donalod/3ceb1cf3be532d08a431 to your computer and use it in GitHub Desktop.
Save donalod/3ceb1cf3be532d08a431 to your computer and use it in GitHub Desktop.
GNUPlotConf
set terminal png size 2000, 800
set title "West Side Channel 161 and Channel 52 Normal SNR = 20 - 50dBm"
set output "snr_201014.png"
set xdata time
set timefmt "%Y-%m-%d_%H.%M.%S"
set xlabel "Time"
set key left center
set grid
set bmargin at screen 0.2
set xtics format "%b %d %H:%M"
set xtics 600 rotate by -90
set xlabel "Date/Time of Day of Interest"
set ylabel "SNR dB (Also discrete values valid for PoE Voltage, Wattage, Noisefloor)"
#set y2label "PoE Watts (802.3af) drawn by Access Point"
#set y2tics nomirror
set yrange [ -100 : 60 ]
set y2range [ 0 : 16 ]
set xrange ["2014-10-20_08.00.00":"2014-10-20_22.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 points lw 2 lt 1 title 'Low SNR', 'p1.master' using 1:2 with points title 'PoE Watts (802.3af) drawn by Access Point', 'u2' using 1:2 with linespoints lw 2 pointtype 4 title 'Building Voltage 1=Normal, 5= Overvoltage', 'p1.master' using 1:3 with points lt 22 title 'PoE Voltage from EX2200', 'n' using 1:2 with linespoints title 'Noise Floor'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment