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

set output "floor.pdf"
set title "Noise floors"

plot "floor1m-oeo.csv" u 1:2 w lines title "oeo 1m",\
	"floor2m-oeo.csv" u 1:2 w lines title "oeo 2m",\
	"floor2m-kul-meritev.csv" u 1:2 w lines title "2m veriga",\
	"floor3-1m-oeo.csv" u 1:2 w lines title "oeo 1m",\
	"floor-oeo-1m-praviSB.csv" u 1:2 w lines title "oeo pravi sb",\
	"floor1.csv" u 1:2 w lines t "ena",\
	"floor2.csv" u 1:2 w l t "dva"
