From 6090e86da3f925849bcce01fca3aaf9935d43c92 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Thu, 24 Dec 2015 10:37:22 +0100 Subject: [PATCH] call_distance_modulation.gnuplot: adjust to plot the new logs --- plot/call_distance_modulation.gnuplot | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plot/call_distance_modulation.gnuplot b/plot/call_distance_modulation.gnuplot index 207eedb..89dca1d 100755 --- a/plot/call_distance_modulation.gnuplot +++ b/plot/call_distance_modulation.gnuplot @@ -49,10 +49,6 @@ receiver_t0 = GPVAL_DATA_X_MIN t0 = min(sender_t0, receiver_t0) -call_setup_time = receiver_t0 - sender_t0 -call_time_error = 1.2 -call_time = call_setup_time + call_time_error - morse_symbol(symbol) = symbol eq " " ? "sep" : symbol eq "/" ? "SEP" : symbol end_of_signal(symbol) = (symbol eq " ") || (symbol eq "/") || (symbol eq "EOM") text_character(symbol, character) = symbol eq "/" ? character . "␣" : character @@ -62,7 +58,7 @@ set terminal qt 0 enhanced font "Georgia,14" size _w,_h #set output 'pulse_distance_modulation.png' plot \ - transmit_data using (0):(0):($1 - t0):($1 - t0 + call_time):(0):(0.5) with boxxy \ + transmit_data using (0):(0):($1 - t0):($1 - t0 + $8):(0):(0.5) with boxxy \ fs solid noborder lc "#90caf9" title 'outgoing calls', \ receive_data using ($1 - t0):(0.5) with impulses lw 2 lc '#ff3d00' title 'ingoing rings', \ receive_data using ($4 > 0 ? $1 - t0 : 1/0):(0.53):(-$4):(0) with vectors arrowstyle 1 notitle, \ -- 2.1.4