audio-spektralc/primerjava/plot

20 lines
424 B
Gnuplot
Executable File

#!/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 [-100:-40]
set key bottom left
set grid
set grid mxtics
set logscale x
set output "primerjava.pdf"
set title "Primerjava merilnih metod"
plot "rezultat.csv" u 1:2 w lines title "kasnilna linija",\
"pll.csv" u ($1)*1e3:2 w lines title "direktna metoda"