This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Fusion2016/tex/gfx/eval/error_timed_nexus.gp
FrankE 54ab3d8dbe added missing legend to gfx
fixed some typos and refactored some sentences
2016-02-15 17:11:03 +01:00

92 lines
4.6 KiB
Gnuplot

#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 format y "\\footnotesize{%.1f m}"
set format x "\\footnotesize{%.0f s}"
set key horizontal
set yrange[0:17]
set xrange[0:91]
set xtics nomirror
set ytics nomirror
set key at graph 1,1 opaque box samplen 1.0 spacing 0.8 width -13
set lmargin 4.6
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 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 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 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_path2_nexus_simple.dat" using ($1/100) with lines title "raw" lc rgb "#000000", \
# "data/err_bergwerk_path2_nexus_multi.dat" using ($1/100) with lines title "multi-path", \
# "data/err_bergwerk_path2_nexus_shortest.dat" using ($1/100) with lines title "shortest-path", \
#plot \
# "data/err_bergwerk_path3_nexus_simple.dat" using ($1/100) with lines title "raw" lc rgb "#000000", \
# "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 14,15 fs solid noborder fc rgb "#eeeeee" behind # standing
set label 1 "\\footnotesize{1}" at 7,2 center rotate by 0 front
set object 2 rectangle from 14,0 to 40,15 fs solid noborder fc rgb "#dddddd" behind # walking down the way
set label 2 "\\footnotesize{2}" at 27,10 center rotate by 0 front
set object 3 rectangle from 40,0 to 51,15 fs solid noborder fc rgb "#eeeeee" behind # ignoring the shortest path
set label 3 "\\footnotesize{3}" at 45.5,10 center rotate by 0 front
set object 4 rectangle from 51,0 to 65,15 fs solid noborder fc rgb "#dddddd" behind # stairwell
set label 4 "\\footnotesize{4}" at 58,10 center rotate by 0 front
set object 5 rectangle from 65,0 to 74,15 fs solid noborder fc rgb "#eeeeee" behind # exit stairwell
set label 5 "\\footnotesize{5}" at 69.5,10 center rotate by 0 front
set object 6 rectangle from 74,0 to 105,15 fs solid noborder fc rgb "#dddddd" behind # floor
set label 6 "\\footnotesize{6}" at 89.5,10 center rotate by 0 front
set object 7 rectangle from 105,0 to 116,15 fs solid noborder fc rgb "#eeeeee" behind # stair down to f1
set label 7 "\\footnotesize{7}" at 110.5,10 center rotate by 0 front
set object 8 rectangle from 116,0 to 130,15 fs solid noborder fc rgb "#dddddd" behind # floor
set label 8 "\\footnotesize{8}" at 123,10 center rotate by 0 front
set object 9 rectangle from 130,0 to 142,15 fs solid noborder fc rgb "#eeeeee" behind # stair down to f0
set label 9 "\\footnotesize{9}" at 136,10 center rotate by 0 front
set object 10 rectangle from 142,0 to 150,15 fs solid noborder fc rgb "#dddddd" behind # end
set label 10 "\\footnotesize{10}" at 146,10 center rotate by 0 front
#unset key
set yrange[0:13]
set xrange[0:151]
plot \
"data/err_bergwerk_path4_nexus_simple.dat" using ($0/2):($1/100) with lines title "\\footnotesize{simple}\\hspace{-1.5mm}" lc rgb "#000000", \
"data/err_bergwerk_path4_nexus_multi.dat" using ($0/2):($1/100) with lines title "\\footnotesize{multi}\\hspace{-1.5mm}" lc rgb "#0000cc", \
"data/err_bergwerk_path4_nexus_shortest.dat" using ($0/2):($1/100) with lines title "\\footnotesize{shortest}\\hspace{-1.5mm}" lc rgb "#cc0000", \