From 82dc8dfb0bd8bd0c59a6e27772a0e07da6c2d6b7 Mon Sep 17 00:00:00 2001 From: Pierros Papadeas Date: Tue, 13 Jun 2017 00:47:55 +0300 Subject: [PATCH] Adjust color palette to spectravue profile. Creds to csete --- apps/scripts/satnogs_waterfall.gp | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/apps/scripts/satnogs_waterfall.gp b/apps/scripts/satnogs_waterfall.gp index 302782f..d4e7d7e 100755 --- a/apps/scripts/satnogs_waterfall.gp +++ b/apps/scripts/satnogs_waterfall.gp @@ -44,27 +44,24 @@ set cbtics scale 0 set cbtics (-110, -105, -100, -95, -90, -85, -80, -75, -70, -65, -60, -55, -50, -55, -40) # palette -set palette defined (0 '#aa00ff',\ - 1 '#6200ea',\ - 2 '#2962ff',\ - 3 '#00b8d4',\ - 4 '#00bfa5',\ - 5 '#00c853',\ - 6 '#64dd17 ',\ - 7 '#aeea00',\ - 9 '#ffd600 ',\ - 10 '#ffab00 ',\ - 11 '#ff6d00',\ - 12 '#d50000') +set palette defined (0 '#000000', \ + 1 '#0000e7', \ + 2 '#0094ff', \ + 3 '#00ffb8', \ + 4 '#2eff00', \ + 5 '#ffff00', \ + 6 '#ff8800', \ + 7 '#ff0000', \ + 8 '#ff007c') set ylabel 'Time (seconds)' set cbrange [-100:-50] set cblabel 'Power (dB)' -# Get automatically the axis ranges from the file +# Get automatically the axis ranges from the file stats inputfile using 1 binary nooutput set xrange [STATS_min*1e-3:STATS_max*1e-3 + 1] stats inputfile using 2 binary nooutput set yrange [0:STATS_max + 1] -# Plot and scale the frequency axis to kHz for readability +# Plot and scale the frequency axis to kHz for readability plot inputfile using ($1*1e-3):2:3 binary matrix with image