audio-spektralc/grafi/plot-pn

24 lines
598 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 'pn.tex'
set xlabel 'Frequency offset (Hz)'
set ylabel 'Phase noise (dBc/Hz)'
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 'veriga-dobra.csv' u 1:2 w lines title 'VCXO' linestyle 1,\
'oeo.csv' u 1:2 w lines title 'OEO' linestyle 2