eval parts written and refactored

completely changed the eval gfx
This commit is contained in:
2016-02-13 11:53:43 +01:00
parent c12502cf8b
commit 601a7161e5
8 changed files with 7630 additions and 1109 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,8 @@
set terminal epslatex size 3.4,2.8
#set terminal epslatex size 3.4,2.8
set terminal epslatex size 3.4,1.4
set output "error_timed_nexus.tex"
set multiplot layout 2,1
#set multiplot layout 2,1
set format y "\\footnotesize{%.1f m}"
set format x "\\footnotesize{%.0f s}"
set key horizontal
@@ -16,28 +17,28 @@ set tmargin 0.3
set rmargin 0.4
set bmargin 1.2
set object 1 rectangle from 0,0 to 13,17 fs solid noborder fc rgb "#eeeeee" behind # standing
set label 1 "\\footnotesize{1}" at 6.5,2 center rotate by 0 front
#set object 1 rectangle from 0,0 to 13,17 fs solid noborder fc rgb "#eeeeee" behind # standing
#set label 1 "\\footnotesize{1}" at 6.5,2 center rotate by 0 front
set object 2 rectangle from 13,0 to 34,17 fs solid noborder fc rgb "#dddddd" behind # walk towards stair
set label 2 "\\footnotesize{2}" at 23.5,13 center rotate by 0 front
#set object 2 rectangle from 13,0 to 34,17 fs solid noborder fc rgb "#dddddd" behind # walk towards stair
#set label 2 "\\footnotesize{2}" at 23.5,13 center rotate by 0 front
set object 3 rectangle from 34,0 to 45,17 fs solid noborder fc rgb "#eeeeee" behind # walk down the stair
set label 3 "\\footnotesize{3}" at 39.5,13 center rotate by 0 front
#set object 3 rectangle from 34,0 to 45,17 fs solid noborder fc rgb "#eeeeee" behind # walk down the stair
#set label 3 "\\footnotesize{3}" at 39.5,13 center rotate by 0 front
set object 4 rectangle from 45,0 to 62,17 fs solid noborder fc rgb "#dddddd" behind # walk straight
set label 4 "\\footnotesize{4}" at 53.5,13 center rotate by 0 front
#set object 4 rectangle from 45,0 to 62,17 fs solid noborder fc rgb "#dddddd" behind # walk straight
#set label 4 "\\footnotesize{4}" at 53.5,13 center rotate by 0 front
set object 5 rectangle from 62,0 to 78,17 fs solid noborder fc rgb "#eeeeee" behind # change side of floor
set label 5 "\\footnotesize{5}" at 70,13 center rotate by 0 front
#set object 5 rectangle from 62,0 to 78,17 fs solid noborder fc rgb "#eeeeee" behind # change side of floor
#set label 5 "\\footnotesize{5}" at 70,13 center rotate by 0 front
set object 6 rectangle from 78,0 to 90,17 fs solid noborder fc rgb "#dddddd" behind # walk straight
set label 6 "\\footnotesize{6}" at 84.5,8 center rotate by 0 front
#set object 6 rectangle from 78,0 to 90,17 fs solid noborder fc rgb "#dddddd" behind # walk straight
#set label 6 "\\footnotesize{6}" at 84.5,8 center rotate by 0 front
plot \
"data/err_bergwerk_path1_nexus_simple.dat" using ($0/2):($1/100) with lines title "\\footnotesize{simple}\\hspace{-1.5mm}" lc rgb "#000000", \
"data/err_bergwerk_path1_nexus_multi.dat" using ($0/2):($1/100) with lines title "\\footnotesize{multi}\\hspace{-1.5mm}" lc rgb "#0000cc", \
"data/err_bergwerk_path1_nexus_shortest.dat" using ($0/2):($1/100) with lines title "\\footnotesize{shortest}\\hspace{-1.5mm}" lc rgb "#cc0000", \
#plot \
# "data/err_bergwerk_path1_nexus_simple.dat" using ($0/2):($1/100) with lines title "\\footnotesize{simple}\\hspace{-1.5mm}" lc rgb "#000000", \
# "data/err_bergwerk_path1_nexus_multi.dat" using ($0/2):($1/100) with lines title "\\footnotesize{multi}\\hspace{-1.5mm}" lc rgb "#0000cc", \
# "data/err_bergwerk_path1_nexus_shortest.dat" using ($0/2):($1/100) with lines title "\\footnotesize{shortest}\\hspace{-1.5mm}" lc rgb "#cc0000", \
#plot \
# "data/err_bergwerk_path2_nexus_simple.dat" using ($1/100) with lines title "raw" lc rgb "#000000", \
@@ -49,13 +50,7 @@ plot \
# "data/err_bergwerk_path3_nexus_multi.dat" using ($1/100) with lines title "multi-path", \
# "data/err_bergwerk_path3_nexus_shortest.dat" using ($1/100) with lines title "shortest-path", \
#set object 1 rectangle from 0,0 to 20,15 fs solid noborder fc rgb "#eeeeee" behind
#set label 1 "\\footnotesize{setup-phase}" at 9,1 rotate by 90 front
#set object 2 rectangle from 40,0 to 60,15 fs solid noborder fc rgb "#eeeeee" behind
#set label 2 "\\footnotesize{ignoring}" at 46,7.4 rotate by 90 front
#set label 3 "\\footnotesize{path}" at 52,7.4 rotate by 90 front
#set object 4 rectangle from 128,0 to 138,15 fs solid noborder fc rgb "#eeeeee" behind
#set label 4 "\\footnotesize{multimodality}" at 142,4.4 rotate by 90 front
set object 1 rectangle from 0,0 to 14,15 fs solid noborder fc rgb "#eeeeee" behind # standing
set label 1 "\\footnotesize{1}" at 7,2 center rotate by 0 front

View File

@@ -79,53 +79,16 @@
\fi%
\setlength{\fboxrule}{0.5pt}%
\setlength{\fboxsep}{1pt}%
\begin{picture}(4896.00,4030.00)%
\gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%
\put(475,2279){\makebox(0,0)[r]{\strut{}\footnotesize{0.0 m}}}%
\put(475,2477){\makebox(0,0)[r]{\strut{}\footnotesize{2.0 m}}}%
\put(475,2675){\makebox(0,0)[r]{\strut{}\footnotesize{4.0 m}}}%
\put(475,2873){\makebox(0,0)[r]{\strut{}\footnotesize{6.0 m}}}%
\put(475,3071){\makebox(0,0)[r]{\strut{}\footnotesize{8.0 m}}}%
\put(475,3270){\makebox(0,0)[r]{\strut{}\footnotesize{10.0 m}}}%
\put(475,3468){\makebox(0,0)[r]{\strut{}\footnotesize{12.0 m}}}%
\put(475,3666){\makebox(0,0)[r]{\strut{}\footnotesize{14.0 m}}}%
\put(475,3864){\makebox(0,0)[r]{\strut{}\footnotesize{16.0 m}}}%
\put(607,2059){\makebox(0,0){\strut{}\footnotesize{0 s}}}%
\put(1072,2059){\makebox(0,0){\strut{}\footnotesize{10 s}}}%
\put(1538,2059){\makebox(0,0){\strut{}\footnotesize{20 s}}}%
\put(2003,2059){\makebox(0,0){\strut{}\footnotesize{30 s}}}%
\put(2469,2059){\makebox(0,0){\strut{}\footnotesize{40 s}}}%
\put(2934,2059){\makebox(0,0){\strut{}\footnotesize{50 s}}}%
\put(3399,2059){\makebox(0,0){\strut{}\footnotesize{60 s}}}%
\put(3865,2059){\makebox(0,0){\strut{}\footnotesize{70 s}}}%
\put(4330,2059){\makebox(0,0){\strut{}\footnotesize{80 s}}}%
\put(4795,2059){\makebox(0,0){\strut{}\footnotesize{90 s}}}%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%
\put(2541,3812){\makebox(0,0)[r]{\strut{}\footnotesize{simple}\hspace{-1.5mm}}}%
\csname LTb\endcsname%
\put(3396,3812){\makebox(0,0)[r]{\strut{}\footnotesize{multi}\hspace{-1.5mm}}}%
\csname LTb\endcsname%
\put(4251,3812){\makebox(0,0)[r]{\strut{}\footnotesize{shortest}\hspace{-1.5mm}}}%
\csname LTb\endcsname%
\put(910,2477){\makebox(0,0){\strut{}\footnotesize{1}}}%
\put(1701,3567){\makebox(0,0){\strut{}\footnotesize{2}}}%
\put(2445,3567){\makebox(0,0){\strut{}\footnotesize{3}}}%
\put(3097,3567){\makebox(0,0){\strut{}\footnotesize{4}}}%
\put(3865,3567){\makebox(0,0){\strut{}\footnotesize{5}}}%
\put(4540,3071){\makebox(0,0){\strut{}\footnotesize{6}}}%
}%
\begin{picture}(4896.00,2014.00)%
\gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%
\put(475,264){\makebox(0,0)[r]{\strut{}\footnotesize{0.0 m}}}%
\put(475,523){\makebox(0,0)[r]{\strut{}\footnotesize{2.0 m}}}%
\put(475,782){\makebox(0,0)[r]{\strut{}\footnotesize{4.0 m}}}%
\put(475,1042){\makebox(0,0)[r]{\strut{}\footnotesize{6.0 m}}}%
\put(475,1301){\makebox(0,0)[r]{\strut{}\footnotesize{8.0 m}}}%
\put(475,1560){\makebox(0,0)[r]{\strut{}\footnotesize{10.0 m}}}%
\put(475,1819){\makebox(0,0)[r]{\strut{}\footnotesize{12.0 m}}}%
\put(475,1041){\makebox(0,0)[r]{\strut{}\footnotesize{6.0 m}}}%
\put(475,1300){\makebox(0,0)[r]{\strut{}\footnotesize{8.0 m}}}%
\put(475,1559){\makebox(0,0)[r]{\strut{}\footnotesize{10.0 m}}}%
\put(475,1818){\makebox(0,0)[r]{\strut{}\footnotesize{12.0 m}}}%
\put(607,44){\makebox(0,0){\strut{}\footnotesize{0 s}}}%
\put(1168,44){\makebox(0,0){\strut{}\footnotesize{20 s}}}%
\put(1729,44){\makebox(0,0){\strut{}\footnotesize{40 s}}}%
@@ -138,15 +101,15 @@
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%
\put(803,523){\makebox(0,0){\strut{}\footnotesize{1}}}%
\put(1364,1690){\makebox(0,0){\strut{}\footnotesize{2}}}%
\put(1883,1690){\makebox(0,0){\strut{}\footnotesize{3}}}%
\put(2234,1690){\makebox(0,0){\strut{}\footnotesize{4}}}%
\put(2556,1690){\makebox(0,0){\strut{}\footnotesize{5}}}%
\put(3117,1690){\makebox(0,0){\strut{}\footnotesize{6}}}%
\put(3706,1690){\makebox(0,0){\strut{}\footnotesize{7}}}%
\put(4057,1690){\makebox(0,0){\strut{}\footnotesize{8}}}%
\put(4421,1690){\makebox(0,0){\strut{}\footnotesize{9}}}%
\put(4702,1690){\makebox(0,0){\strut{}\footnotesize{10}}}%
\put(1364,1688){\makebox(0,0){\strut{}\footnotesize{2}}}%
\put(1883,1688){\makebox(0,0){\strut{}\footnotesize{3}}}%
\put(2234,1688){\makebox(0,0){\strut{}\footnotesize{4}}}%
\put(2556,1688){\makebox(0,0){\strut{}\footnotesize{5}}}%
\put(3117,1688){\makebox(0,0){\strut{}\footnotesize{6}}}%
\put(3706,1688){\makebox(0,0){\strut{}\footnotesize{7}}}%
\put(4057,1688){\makebox(0,0){\strut{}\footnotesize{8}}}%
\put(4421,1688){\makebox(0,0){\strut{}\footnotesize{9}}}%
\put(4702,1688){\makebox(0,0){\strut{}\footnotesize{10}}}%
}%
\gplbacktext
\put(0,0){\includegraphics{error_timed_nexus}}%

View File

@@ -1,12 +1,76 @@
set terminal epslatex rounded size 3.5,2.45
set output "path_nexus_detail.tex"
unset xtics
unset ytics
unset ztics
unset border
unset colorbox
set ticslevel 0
set object 1 polygon from 1000,4200,1060 to 1000,5200,1060 to 1700,5200,1060 to 1700,4200,1060 fs solid noborder fc rgb "#cccccc" behind
set view equal xy
set zrange [-200:2000]
set key at screen 0.30,0.15 samplen 1.2 box opaque width -7
set view 70,50
#set object 1 polygon from 1000,4200,1060 to 1000,5200,1060 to 1700,5200,1060 to 1700,4200,1060 fs solid noborder fc rgb "#cccccc" behind
set cbrange[0:1]
set palette gray
ca = 0.8
cb = 0.4
# coloring for path4
f4(c) = c/2<14 ? ca\
:c/2<36 ? cb\
:c/2<54 ? ca\
:c/2<65 ? cb\
:c/2<74 ? ca\
:c/2<105 ? cb\
:c/2<116 ? ca\
:c/2<130 ? cb\
:c/2<142 ? ca\
:cb
# init error 1
set object 1 polygon from 1000,400,1060 to 1000,1500,1060 to 1300,1500,1060 to 1300,400,1060 fs solid noborder fc rgb "#ff8888" behind
# shorter 1
set arrow 1 from 1340, 3180, 1060 to 1340, 4050, 720 nohead lw 2 lc rgb "#00aa00" front
set arrow 2 from 1340, 4050, 720 to 1740, 4090, 720 nohead lw 2 lc rgb "#00aa00" front
# shorter 2
set arrow 3 from 1140, 4442, 1060 to 4180, 4300, 1060 nohead lw 2 lc rgb "#00aa00" front
set arrow 4 from 4180, 4300, 1060 to 5000, 4300, 720 nohead lw 2 lc rgb "#00aa00" front
# multimod
set arrow 5 from 6290, 4778, 190 to 6290, 5098, 190 nohead lw 2 lc rgb "#aa0000" back
set arrow 6 from 6758,4790+160,380 to 6290, 5098, 190 nohead lw 2 lc rgb "#aa0000" back
set arrow 7 from 6290, 4778, 190 to 6758,4790+000, 0 nohead lw 2 lc rgb "#aa0000" back
# numbering
set label 1 "\\footnotesize{1}" at 1692.27, 2721.79, 932.453-70 center front
set label 2 "\\footnotesize{2}" at 1086.04, 2622.65, 1058.51+60 center front
set label 3 "\\footnotesize{3}" at 1125.9, 3958.11, 1059.91+60 center front
set label 98 "\\footnotesize{3'}" at 1340+250, 3580+50, 1060-130 center front
set label 99 "\\footnotesize{3''}" at 4180, 4300, 1060+50 center front
set label 4 "\\footnotesize{4}" at 1843.27, 5037.33, 880.035 center front
set label 5 "\\footnotesize{5}" at 1174.22-400, 4646.68+200, 719.775 center front
set label 6 "\\footnotesize{6}" at 3347.93, 4112.19, 720-70 center front
set label 7 "\\footnotesize{7}" at 5724.6+250, 4159.7+150, 604.967 center front
set label 8 "\\footnotesize{8}" at 6964.14-180, 4132.79-180, 373.646-50 center front
set label 9 "\\footnotesize{9}" at 7077.86-150, 4235.71-150, 114.833 center front
set label 10 "\\footnotesize{10}" at 7168.42-600, 3853.84, 0 center front
set multiplot layout 1,1 scale 2.4,2.4 offset 0,0.1
splot \
"data/floors.dat" with lines lc rgb "#aaaaaa" notitle,\
"data/est_bergwerk_path1_nexus_multi.dat" skip 10 with lines lw 2 lc rgb "#000000" notitle,\
"data/est_bergwerk_path4_nexus_multi.dat" skip 10 with lines lw 2 lc rgb "#009900" notitle,\
"data/floors.dat" with lines lc rgb "#cccccc" notitle,\
"data/est_bergwerk_path4_nexus_multi.dat" using 1:2:3:(f4(column(0))) with lines lw 8 palette notitle,\
"data/est_bergwerk_path4_nexus_multi.dat" with lines lw 2 lc rgb "#000099" title "\\footnotesize{multi}",\
"data/path4.dat" with lines title "\\footnotesize{ground truth}" dashtype 3 lw 2 lc rgb "#000000"
unset multiplot

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,112 @@
% 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
\GPcolorfalse
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktexttrue
}{}%
% 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}(5040.00,3528.00)%
\gplgaddtomacro\gplbacktext{%
}%
\gplgaddtomacro\gplfronttext{%
\csname LTb\endcsname%
\put(1027,419){\makebox(0,0)[r]{\strut{}\footnotesize{multi}}}%
\csname LTb\endcsname%
\put(1027,199){\makebox(0,0)[r]{\strut{}\footnotesize{ground truth}}}%
\csname LTb\endcsname%
\put(1027,419){\makebox(0,0)[r]{\strut{}\footnotesize{multi}}}%
\csname LTb\endcsname%
\put(1027,199){\makebox(0,0)[r]{\strut{}\footnotesize{ground truth}}}%
\csname LTb\endcsname%
\put(1747,2502){\makebox(0,0){\strut{}\footnotesize{1}}}%
\put(1490,3052){\makebox(0,0){\strut{}\footnotesize{2}}}%
\put(2068,3211){\makebox(0,0){\strut{}\footnotesize{3}}}%
\put(2779,2794){\makebox(0,0){\strut{}\footnotesize{4}}}%
\put(2319,2629){\makebox(0,0){\strut{}\footnotesize{5}}}%
\put(2921,2040){\makebox(0,0){\strut{}\footnotesize{6}}}%
\put(3937,1600){\makebox(0,0){\strut{}\footnotesize{7}}}%
\put(4073,919){\makebox(0,0){\strut{}\footnotesize{8}}}%
\put(4180,528){\makebox(0,0){\strut{}\footnotesize{9}}}%
\put(3955,339){\makebox(0,0){\strut{}\footnotesize{10}}}%
\put(2094,2752){\makebox(0,0){\strut{}\footnotesize{3'}}}%
\put(3296,2792){\makebox(0,0){\strut{}\footnotesize{3''}}}%
}%
\gplbacktext
\put(0,0){\includegraphics{path_nexus_detail}}%
\gplfronttext
\end{picture}%
\endgroup