audio-spektralc/grafi-v2/plot-comp

24 lines
617 B
Gnuplot

#!/usr/bin/gnuplot
set datafile separator ','
set terminal epslatex size 9cm,6cm font ',10pt' color colortext
set output 'comp.tex'
set xlabel 'Frequency offset (Hz)'
set ylabel 'Phase noise (dBc/Hz)'
set format x '$10^{%T}$'
set xrange [100:100000]
set yrange [-110:-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 'pll.csv' u ($1)*1e3:2 w lines title 'direct method' linestyle 1,\
'pll2.csv' u 1:2 w lines title 'delay method' linestyle 2