audio-spektralc/grafi-v2/plot-pn

24 lines
594 B
Gnuplot

#!/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]
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 'veriga3.csv' u 1:2 w lines title 'VCXO' linestyle 1,\
'oeo7.csv' u 1:2 w lines title 'OEO' linestyle 2