grafi za clanek

master
Andrej 2022-06-30 10:14:57 +02:00
parent f281e42267
commit 4b82f73f14
27 changed files with 62622 additions and 4091 deletions

BIN
comparison.pdf 100644

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,25 @@
#!/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"

View File

@ -0,0 +1,24 @@
#!/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 [-160:-60]
set key bottom left
set grid
set grid mxtics
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"

6443
grafi/comp.eps 100644

File diff suppressed because it is too large Load Diff

120
grafi/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

9000
grafi/floor.eps 100644

File diff suppressed because it is too large Load Diff

118
grafi/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,1152){\makebox(0,0)[r]{\strut{}$-140$}}%
\csname LTb\endcsname%%
\put(860,1664){\makebox(0,0)[r]{\strut{}$-120$}}%
\csname LTb\endcsname%%
\put(860,2175){\makebox(0,0)[r]{\strut{}$-100$}}%
\csname LTb\endcsname%%
\put(860,2687){\makebox(0,0)[r]{\strut{}$-80$}}%
\csname LTb\endcsname%%
\put(860,3199){\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{floor}}%
\gplfronttext
\end{picture}%
\endgroup

4091
grafi/floor1.csv 100644

File diff suppressed because it is too large Load Diff

4091
grafi/oeo.csv 100644

File diff suppressed because it is too large Load Diff

4091
grafi/pll-fd.csv 100644

File diff suppressed because it is too large Load Diff

2045
grafi/pll.csv 100755

File diff suppressed because it is too large Load Diff

23
grafi/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,\
'pll-fd.csv' u 1:2 w lines title 'delay method' linestyle 2

23
grafi/plot-floor 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 'floor.tex'
set xlabel 'Frequency offset (Hz)'
set ylabel 'Phase noise (dBc/Hz)'
set format x '$10^{%T}$'
set xrange [100:100000]
set yrange [-160:-60]
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 'floor1.csv' u 1:2 w lines title 'VCXO' linestyle 1,\
'floor-oeo-1m-praviSB.csv' u 1:2 w lines title 'OEO' linestyle 2

23
grafi/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 [-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

23
grafi/plot-test 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 '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

8956
grafi/pn.eps 100644

File diff suppressed because it is too large Load Diff

116
grafi/pn.tex 100644
View File

@ -0,0 +1,116 @@
% 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,896){\makebox(0,0)[r]{\strut{}$-140$}}%
\csname LTb\endcsname%%
\put(860,1408){\makebox(0,0)[r]{\strut{}$-120$}}%
\csname LTb\endcsname%%
\put(860,1920){\makebox(0,0)[r]{\strut{}$-100$}}%
\csname LTb\endcsname%%
\put(860,2431){\makebox(0,0)[r]{\strut{}$-80$}}%
\csname LTb\endcsname%%
\put(860,2943){\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

8956
grafi/test.eps 100644

File diff suppressed because it is too large Load Diff

116
grafi/test.tex 100644
View File

@ -0,0 +1,116 @@
% 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,896){\makebox(0,0)[r]{\strut{}$-140$}}%
\csname LTb\endcsname%%
\put(860,1408){\makebox(0,0)[r]{\strut{}$-120$}}%
\csname LTb\endcsname%%
\put(860,1920){\makebox(0,0)[r]{\strut{}$-100$}}%
\csname LTb\endcsname%%
\put(860,2431){\makebox(0,0)[r]{\strut{}$-80$}}%
\csname LTb\endcsname%%
\put(860,2943){\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{test}}%
\gplfronttext
\end{picture}%
\endgroup

File diff suppressed because it is too large Load Diff

4091
pll-fd.csv 100644

File diff suppressed because it is too large Load Diff

6136
pll.csv 100644 → 100755

File diff suppressed because it is too large Load Diff

20
plot-comp 100644
View File

@ -0,0 +1,20 @@
#!/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.csv" u ($1)*1e3:2 w lines title "direktna",\
"pll-fd.csv" u 1:2 w lines t "pd"