X-Git-Url: https://git.ao2.it/SaveMySugar/python3-savemysugar.git/blobdiff_plain/6090e86da3f925849bcce01fca3aaf9935d43c92..74ef1879526d5a70991b2a1d23c79ef854fd2e78:/plot/call_distance_modulation.gnuplot diff --git a/plot/call_distance_modulation.gnuplot b/plot/call_distance_modulation.gnuplot index 89dca1d..a3ea29f 100755 --- a/plot/call_distance_modulation.gnuplot +++ b/plot/call_distance_modulation.gnuplot @@ -20,7 +20,7 @@ set xlabel "time since the first call (seconds)" set noytics -set xtics 20 out nomirror rotate by -45 +set xtics 30 out nomirror rotate by -45 font "Georgia,12" set yrange[0:0.7] set size ratio 0.3 @@ -39,6 +39,11 @@ receive_data="codex_receive.log" #transmit_data="savemysugar_transmit.log" #receive_data="savemysugar_receive.log" +#transmit_data="android_codex_transmit.log" +#receive_data="android_codex_receive.log" +#transmit_data="android_savemysugar_transmit.log" +#receive_data="android_savemysugar_receive.log" + set terminal unknown plot transmit_data using 1:(1) @@ -60,7 +65,7 @@ set terminal qt 0 enhanced font "Georgia,14" size _w,_h plot \ 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 ($1 - t0):(0.5) with impulses lw 2 lc '#ff3d00' title 'incoming rings', \ receive_data using ($4 > 0 ? $1 - t0 : 1/0):(0.53):(-$4):(0) with vectors arrowstyle 1 notitle, \ receive_data using ($4 > 0 ? ($1 - t0) - ($4 / 2) : 1/0):(0.56):(morse_symbol(strcol(6))) with labels notitle, \ receive_data using (end_of_signal(strcol(6)) ? ($1 - t0) : 1/0):(0.61):(text_character(strcol(6), strcol(8))) with labels font "Courier,14" notitle, \