#!/usr/bin/gnuplot 

set datafile separator ","
set terminal pdf

set xlabel "Frekvenčni odmik (Hz)"
set ylabel "Fazni šum (dBc/Hz)"
set xrange [100:100000]
set yrange [-150:-50]
set key bottom left
set grid
set grid mxtics
set logscale x

set output "primerjava.pdf"
set title "Primerjava izračuna in meritve"
plot "analitika.csv" u 1:2 w lines title "izračunan",\
	"rezultat.csv" u 1:2 w lines title "pomerjen"

