audio-spektralc/plot-comp

21 lines
405 B
Plaintext
Raw Normal View History

2022-06-30 10:14:57 +02:00
#!/usr/bin/gnuplot
set datafile separator ","
set terminal pdf
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 bottom left
set grid
set grid mxtics
set logscale x
set output "comparison.pdf"
set title "Fazni sum"
plot "pll.csv" u ($1)*1e3:2 w lines title "direktna",\
"pll-fd.csv" u 1:2 w lines t "pd"