22 lines
477 B
Plaintext
22 lines
477 B
Plaintext
|
#!/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-dm.csv" u ($1)*1e3:2 w lines title "direktna",\
|
||
|
"pll.csv" u 1:2 w lines t "pd1",\
|
||
|
"pll2.csv" u 1:2 w lines t "pd2",\
|
||
|
"pll3.csv" u 1:2 w lines t "pd3"
|