audio-spektralc/grafi/plot-test

24 lines
600 B
Gnuplot

#!/usr/bin/gnuplot
set datafile separator ','
set terminal epslatex size 9cm,6cm font ',10pt' color colortext
set output 'test.tex'
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 top right
set grid
set grid mxtics
set logscale x
set border linewidth 2
set style line 1 linecolor rgb '#0060ad' linetype 1 linewidth 5
set style line 2 linecolor rgb '#dd181f' linetype 1 linewidth 5
plot 'veriga-dobra.csv' u 1:2 w lines title 'VCXO' linestyle 1,\
'oeo.csv' u 1:2 w lines title 'OEO' linestyle 2