#!/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 [-160:-60]
set key bottom left
set grid
set grid mxtics
set logscale x

set output "noise.pdf"
set title "Fazni sum"

plot "chain.csv" u 1:2 w lines title "vcxo 1",\
	"chain1.csv" u 1:2 w lines title "vcxo 2",\
	"veriga-dobra.csv" u 1:2 w lines title "vcxo 3",\
	"oeo.csv" u 1:2 w lines title "oeo 1",\
	"oeo-vidmar-amp.csv" u 1:2 w lines title "oeo 2",\
	"oeo-3.csv" u 1:2 w lines t "oeo 3"
