21 lines
405 B
Gnuplot
21 lines
405 B
Gnuplot
#!/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"
|