audio-spektralc/grafi/plot-floor

24 lines
618 B
Plaintext
Raw Permalink Normal View History

2022-06-30 10:14:57 +02:00
#!/usr/bin/gnuplot
set datafile separator ','
set terminal epslatex size 9cm,6cm font ',10pt' color colortext
set output 'floor.tex'
set xlabel 'Frequency offset (Hz)'
set ylabel 'Phase noise floor (dBc/Hz)'
2022-06-30 10:14:57 +02:00
set format x '$10^{%T}$'
set xrange [100:100000]
set yrange [-160:-50]
2022-06-30 10:14:57 +02:00
set key top right
set grid
set grid mxtics
set logscale x
set border linewidth 2
set style line 1 linecolor rgb '#0060ad' linetype 1 linewidth 5
set style line 2 linecolor rgb '#dd181f' linetype 1 linewidth 5
plot 'floor1.csv' u 1:2 w lines title 'VCXO' linestyle 1,\
'floor-oeo-1m-praviSB.csv' u 1:2 w lines title 'OEO' linestyle 2