Merge pull request #83 from ppapadeas/spectravue-palette
Adjust color palette to spectravue profile. Creds to csete
This commit is contained in:
commit
37b69933c0
|
@ -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)
|
set cbtics (-110, -105, -100, -95, -90, -85, -80, -75, -70, -65, -60, -55, -50, -55, -40)
|
||||||
|
|
||||||
# palette
|
# palette
|
||||||
set palette defined (0 '#aa00ff',\
|
set palette defined (0 '#000000', \
|
||||||
1 '#6200ea',\
|
1 '#0000e7', \
|
||||||
2 '#2962ff',\
|
2 '#0094ff', \
|
||||||
3 '#00b8d4',\
|
3 '#00ffb8', \
|
||||||
4 '#00bfa5',\
|
4 '#2eff00', \
|
||||||
5 '#00c853',\
|
5 '#ffff00', \
|
||||||
6 '#64dd17 ',\
|
6 '#ff8800', \
|
||||||
7 '#aeea00',\
|
7 '#ff0000', \
|
||||||
9 '#ffd600 ',\
|
8 '#ff007c')
|
||||||
10 '#ffab00 ',\
|
|
||||||
11 '#ff6d00',\
|
|
||||||
12 '#d50000')
|
|
||||||
set ylabel 'Time (seconds)'
|
set ylabel 'Time (seconds)'
|
||||||
set cbrange [-100:-50]
|
set cbrange [-100:-50]
|
||||||
set cblabel 'Power (dB)'
|
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
|
stats inputfile using 1 binary nooutput
|
||||||
set xrange [STATS_min*1e-3:STATS_max*1e-3 + 1]
|
set xrange [STATS_min*1e-3:STATS_max*1e-3 + 1]
|
||||||
stats inputfile using 2 binary nooutput
|
stats inputfile using 2 binary nooutput
|
||||||
set yrange [0:STATS_max + 1]
|
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
|
plot inputfile using ($1*1e-3):2:3 binary matrix with image
|
||||||
|
|
Loading…
Reference in New Issue