narisal nove grafe

master
Andrej 2022-07-09 17:40:21 +02:00
parent a3512523cd
commit 15b385b573
22 changed files with 49579 additions and 13 deletions

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,22 @@
#!/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 [-110:-50]
set key bottom left
set grid
set grid mxtics
set logscale x
set output "comparison.pdf"
set title "Fazni sum"
plot "pll-dm.csv" u ($1)*1e3:2 w lines title "direktna",\
"pll.csv" u 1:2 w lines t "pd1",\
"pll2.csv" u 1:2 w lines t "pd2",\
"pll3.csv" u 1:2 w lines t "pd3"

View File

@ -16,10 +16,7 @@ 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"
plot "floor-oeo-1m.csv" u 1:2 w lines title "oeo 1m",\
"floor-oeo-2m.csv" u 1:2 w l t "oeo 2m",\
"floor-veriga-1m.csv" u 1:2 w l t "veriga 1m",\
"floor-veriga-2m.csv" u 1:2 w l t "veriga 2m"

View File

@ -16,9 +16,13 @@ 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"
plot "oeo1.csv" u 1:2 w lines title "oeo1",\
"oeo2.csv" u 1:2 w lines title "oeo2",\
"oeo3.csv" u 1:2 w lines title "oeo3",\
"oeo4.csv" u 1:2 w lines title "oeo4",\
"oeo5.csv" u 1:2 w lines title "oeo5",\
"oeo6.csv" u 1:2 w lines title "oeo6",\
"oeo7.csv" u 1:2 w lines title "oeo7",\
"veriga1.csv" u 1:2 w lines title "vcxo1",\
"veriga2.csv" u 1:2 w lines title "vcxo2",\
"veriga3.csv" u 1:2 w lines title "vcxo3"

6458
grafi-v2/comp.eps 100644

File diff suppressed because it is too large Load Diff

120
grafi-v2/comp.tex 100644
View File

@ -0,0 +1,120 @@
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'blacktext' in gnuplot or load the package
color.sty in LaTeX.}%
\renewcommand\color[2][]{}%
}%
\providecommand\includegraphics[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package graphicx or graphics not loaded%
}{See the gnuplot documentation for explanation.%
}{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
\renewcommand\includegraphics[2][]{}%
}%
\providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{%
\newif\ifGPcolor
\GPcolortrue
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktextfalse
}{}%
% define a \g@addto@macro without @ in the name:
\let\gplgaddtomacro\g@addto@macro
% define empty templates for all commands taking text:
\gdef\gplbacktext{}%
\gdef\gplfronttext{}%
\makeatother
\ifGPblacktext
% no textcolor at all
\def\colorrgb#1{}%
\def\colorgray#1{}%
\else
% gray or color?
\ifGPcolor
\def\colorrgb#1{\color[rgb]{#1}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
\expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
\expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
\expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
\expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
\expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
\expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
\expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
\expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
\else
% gray
\def\colorrgb#1{\color{black}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color{black}}%
\expandafter\def\csname LT1\endcsname{\color{black}}%
\expandafter\def\csname LT2\endcsname{\color{black}}%
\expandafter\def\csname LT3\endcsname{\color{black}}%
\expandafter\def\csname LT4\endcsname{\color{black}}%
\expandafter\def\csname LT5\endcsname{\color{black}}%
\expandafter\def\csname LT6\endcsname{\color{black}}%
\expandafter\def\csname LT7\endcsname{\color{black}}%
\expandafter\def\csname LT8\endcsname{\color{black}}%
\fi
\fi
\setlength{\unitlength}{0.0500bp}%
\ifx\gptboxheight\undefined%
\newlength{\gptboxheight}%
\newlength{\gptboxwidth}%
\newsavebox{\gptboxtext}%
\fi%
\setlength{\fboxrule}{0.5pt}%
\setlength{\fboxsep}{1pt}%
\begin{picture}(5102.00,3400.00)%
\gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%%
\put(860,640){\makebox(0,0)[r]{\strut{}$-110$}}%
\csname LTb\endcsname%%
\put(860,1067){\makebox(0,0)[r]{\strut{}$-100$}}%
\csname LTb\endcsname%%
\put(860,1493){\makebox(0,0)[r]{\strut{}$-90$}}%
\csname LTb\endcsname%%
\put(860,1920){\makebox(0,0)[r]{\strut{}$-80$}}%
\csname LTb\endcsname%%
\put(860,2346){\makebox(0,0)[r]{\strut{}$-70$}}%
\csname LTb\endcsname%%
\put(860,2773){\makebox(0,0)[r]{\strut{}$-60$}}%
\csname LTb\endcsname%%
\put(860,3199){\makebox(0,0)[r]{\strut{}$-50$}}%
\csname LTb\endcsname%%
\put(980,440){\makebox(0,0){\strut{}$10^{2}$}}%
\csname LTb\endcsname%%
\put(2234,440){\makebox(0,0){\strut{}$10^{3}$}}%
\csname LTb\endcsname%%
\put(3487,440){\makebox(0,0){\strut{}$10^{4}$}}%
\csname LTb\endcsname%%
\put(4741,440){\makebox(0,0){\strut{}$10^{5}$}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%%
\put(180,1919){\rotatebox{-270}{\makebox(0,0){\strut{}Phase noise (dBc/Hz)}}}%
\put(2860,140){\makebox(0,0){\strut{}Frequency offset (Hz)}}%
\csname LTb\endcsname%%
\put(3838,3036){\makebox(0,0)[r]{\strut{}direct method}}%
\csname LTb\endcsname%%
\put(3838,2836){\makebox(0,0)[r]{\strut{}delay method}}%
}%
\gplbacktext
\put(0,0){\includegraphics{comp}}%
\gplfronttext
\end{picture}%
\endgroup

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

9054
grafi-v2/floor.eps 100644

File diff suppressed because it is too large Load Diff

118
grafi-v2/floor.tex 100644
View File

@ -0,0 +1,118 @@
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'blacktext' in gnuplot or load the package
color.sty in LaTeX.}%
\renewcommand\color[2][]{}%
}%
\providecommand\includegraphics[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package graphicx or graphics not loaded%
}{See the gnuplot documentation for explanation.%
}{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
\renewcommand\includegraphics[2][]{}%
}%
\providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{%
\newif\ifGPcolor
\GPcolortrue
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktextfalse
}{}%
% define a \g@addto@macro without @ in the name:
\let\gplgaddtomacro\g@addto@macro
% define empty templates for all commands taking text:
\gdef\gplbacktext{}%
\gdef\gplfronttext{}%
\makeatother
\ifGPblacktext
% no textcolor at all
\def\colorrgb#1{}%
\def\colorgray#1{}%
\else
% gray or color?
\ifGPcolor
\def\colorrgb#1{\color[rgb]{#1}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
\expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
\expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
\expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
\expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
\expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
\expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
\expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
\expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
\else
% gray
\def\colorrgb#1{\color{black}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color{black}}%
\expandafter\def\csname LT1\endcsname{\color{black}}%
\expandafter\def\csname LT2\endcsname{\color{black}}%
\expandafter\def\csname LT3\endcsname{\color{black}}%
\expandafter\def\csname LT4\endcsname{\color{black}}%
\expandafter\def\csname LT5\endcsname{\color{black}}%
\expandafter\def\csname LT6\endcsname{\color{black}}%
\expandafter\def\csname LT7\endcsname{\color{black}}%
\expandafter\def\csname LT8\endcsname{\color{black}}%
\fi
\fi
\setlength{\unitlength}{0.0500bp}%
\ifx\gptboxheight\undefined%
\newlength{\gptboxheight}%
\newlength{\gptboxwidth}%
\newsavebox{\gptboxtext}%
\fi%
\setlength{\fboxrule}{0.5pt}%
\setlength{\fboxsep}{1pt}%
\begin{picture}(5102.00,3400.00)%
\gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%%
\put(860,640){\makebox(0,0)[r]{\strut{}$-160$}}%
\csname LTb\endcsname%%
\put(860,1105){\makebox(0,0)[r]{\strut{}$-140$}}%
\csname LTb\endcsname%%
\put(860,1571){\makebox(0,0)[r]{\strut{}$-120$}}%
\csname LTb\endcsname%%
\put(860,2036){\makebox(0,0)[r]{\strut{}$-100$}}%
\csname LTb\endcsname%%
\put(860,2501){\makebox(0,0)[r]{\strut{}$-80$}}%
\csname LTb\endcsname%%
\put(860,2966){\makebox(0,0)[r]{\strut{}$-60$}}%
\csname LTb\endcsname%%
\put(980,440){\makebox(0,0){\strut{}$10^{2}$}}%
\csname LTb\endcsname%%
\put(2234,440){\makebox(0,0){\strut{}$10^{3}$}}%
\csname LTb\endcsname%%
\put(3487,440){\makebox(0,0){\strut{}$10^{4}$}}%
\csname LTb\endcsname%%
\put(4741,440){\makebox(0,0){\strut{}$10^{5}$}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%%
\put(180,1919){\rotatebox{-270}{\makebox(0,0){\strut{}Phase-noise floor (dBc/Hz)}}}%
\put(2860,140){\makebox(0,0){\strut{}Frequency offset (Hz)}}%
\csname LTb\endcsname%%
\put(3838,3036){\makebox(0,0)[r]{\strut{}VCXO}}%
\csname LTb\endcsname%%
\put(3838,2836){\makebox(0,0)[r]{\strut{}OEO}}%
}%
\gplbacktext
\put(0,0){\includegraphics{floor}}%
\gplfronttext
\end{picture}%
\endgroup

4091
grafi-v2/oeo7.csv 100644

File diff suppressed because it is too large Load Diff

2045
grafi-v2/pll.csv 100755

File diff suppressed because it is too large Load Diff

4091
grafi-v2/pll2.csv 100644

File diff suppressed because it is too large Load Diff

23
grafi-v2/plot-comp 100644
View File

@ -0,0 +1,23 @@
#!/usr/bin/gnuplot
set datafile separator ','
set terminal epslatex size 9cm,6cm font ',10pt' color colortext
set output 'comp.tex'
set xlabel 'Frequency offset (Hz)'
set ylabel 'Phase noise (dBc/Hz)'
set format x '$10^{%T}$'
set xrange [100:100000]
set yrange [-110:-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 'pll.csv' u ($1)*1e3:2 w lines title 'direct method' linestyle 1,\
'pll2.csv' u 1:2 w lines title 'delay method' linestyle 2

View File

@ -0,0 +1,23 @@
#!/usr/bin/gnuplot
set datafile separator ','
set terminal epslatex size 9cm,6cm font ',10pt' color colortext
set output 'floor.tex'
set xlabel 'Frequency offset (Hz)'
set ylabel 'Phase-noise floor (dBc/Hz)'
set format x '$10^{%T}$'
set xrange [100:100000]
set yrange [-160:-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 'floor-veriga-1m.csv' u 1:2 w lines title 'VCXO' linestyle 1,\
'floor-oeo-2m.csv' u 1:2 w lines title 'OEO' linestyle 2

23
grafi-v2/plot-pn 100644
View File

@ -0,0 +1,23 @@
#!/usr/bin/gnuplot
set datafile separator ','
set terminal epslatex size 9cm,6cm font ',10pt' color colortext
set output 'pn.tex'
set xlabel 'Frequency offset (Hz)'
set ylabel 'Phase noise (dBc/Hz)'
set format x '$10^{%T}$'
set xrange [100:100000]
set yrange [-160:-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 'veriga3.csv' u 1:2 w lines title 'VCXO' linestyle 1,\
'oeo7.csv' u 1:2 w lines title 'OEO' linestyle 2

9061
grafi-v2/pn.eps 100644

File diff suppressed because it is too large Load Diff

118
grafi-v2/pn.tex 100644
View File

@ -0,0 +1,118 @@
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'blacktext' in gnuplot or load the package
color.sty in LaTeX.}%
\renewcommand\color[2][]{}%
}%
\providecommand\includegraphics[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package graphicx or graphics not loaded%
}{See the gnuplot documentation for explanation.%
}{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
\renewcommand\includegraphics[2][]{}%
}%
\providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{%
\newif\ifGPcolor
\GPcolortrue
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktextfalse
}{}%
% define a \g@addto@macro without @ in the name:
\let\gplgaddtomacro\g@addto@macro
% define empty templates for all commands taking text:
\gdef\gplbacktext{}%
\gdef\gplfronttext{}%
\makeatother
\ifGPblacktext
% no textcolor at all
\def\colorrgb#1{}%
\def\colorgray#1{}%
\else
% gray or color?
\ifGPcolor
\def\colorrgb#1{\color[rgb]{#1}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
\expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
\expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
\expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
\expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
\expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
\expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
\expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
\expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
\else
% gray
\def\colorrgb#1{\color{black}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color{black}}%
\expandafter\def\csname LT1\endcsname{\color{black}}%
\expandafter\def\csname LT2\endcsname{\color{black}}%
\expandafter\def\csname LT3\endcsname{\color{black}}%
\expandafter\def\csname LT4\endcsname{\color{black}}%
\expandafter\def\csname LT5\endcsname{\color{black}}%
\expandafter\def\csname LT6\endcsname{\color{black}}%
\expandafter\def\csname LT7\endcsname{\color{black}}%
\expandafter\def\csname LT8\endcsname{\color{black}}%
\fi
\fi
\setlength{\unitlength}{0.0500bp}%
\ifx\gptboxheight\undefined%
\newlength{\gptboxheight}%
\newlength{\gptboxwidth}%
\newsavebox{\gptboxtext}%
\fi%
\setlength{\fboxrule}{0.5pt}%
\setlength{\fboxsep}{1pt}%
\begin{picture}(5102.00,3400.00)%
\gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%%
\put(860,640){\makebox(0,0)[r]{\strut{}$-160$}}%
\csname LTb\endcsname%%
\put(860,1105){\makebox(0,0)[r]{\strut{}$-140$}}%
\csname LTb\endcsname%%
\put(860,1571){\makebox(0,0)[r]{\strut{}$-120$}}%
\csname LTb\endcsname%%
\put(860,2036){\makebox(0,0)[r]{\strut{}$-100$}}%
\csname LTb\endcsname%%
\put(860,2501){\makebox(0,0)[r]{\strut{}$-80$}}%
\csname LTb\endcsname%%
\put(860,2966){\makebox(0,0)[r]{\strut{}$-60$}}%
\csname LTb\endcsname%%
\put(980,440){\makebox(0,0){\strut{}$10^{2}$}}%
\csname LTb\endcsname%%
\put(2234,440){\makebox(0,0){\strut{}$10^{3}$}}%
\csname LTb\endcsname%%
\put(3487,440){\makebox(0,0){\strut{}$10^{4}$}}%
\csname LTb\endcsname%%
\put(4741,440){\makebox(0,0){\strut{}$10^{5}$}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%%
\put(180,1919){\rotatebox{-270}{\makebox(0,0){\strut{}Phase noise (dBc/Hz)}}}%
\put(2860,140){\makebox(0,0){\strut{}Frequency offset (Hz)}}%
\csname LTb\endcsname%%
\put(3838,3036){\makebox(0,0)[r]{\strut{}VCXO}}%
\csname LTb\endcsname%%
\put(3838,2836){\makebox(0,0)[r]{\strut{}OEO}}%
}%
\gplbacktext
\put(0,0){\includegraphics{pn}}%
\gplfronttext
\end{picture}%
\endgroup

4091
grafi-v2/veriga3.csv 100644

File diff suppressed because it is too large Load Diff