added activty plotting
added particle logging added gfx to tex
This commit is contained in:
72
tex/gfx/activity/plot.gp
Normal file
72
tex/gfx/activity/plot.gp
Normal file
@@ -0,0 +1,72 @@
|
||||
set terminal epslatex size 3.4,1.4
|
||||
set output "activity_over_time.tex"
|
||||
|
||||
#set terminal eps size 3.4,1.4
|
||||
#set output "activity_over_time.eps"
|
||||
|
||||
#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 7.0
|
||||
set tmargin 0.3
|
||||
set rmargin 0.4
|
||||
set bmargin 1.2
|
||||
|
||||
|
||||
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,5.5 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,5.5 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,5.5 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,5.5 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,5.5 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,5.5 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,5.5 center rotate by 0 front
|
||||
|
||||
set object 8 rectangle from 116,0 to 128,15 fs solid noborder fc rgb "#dddddd" behind # floor
|
||||
set label 8 "\\footnotesize{8}" at 122,5.5 center rotate by 0 front
|
||||
|
||||
set object 9 rectangle from 128,0 to 140,15 fs solid noborder fc rgb "#eeeeee" behind # stair down to f0
|
||||
set label 9 "\\footnotesize{9}" at 134,5.5 center rotate by 0 front
|
||||
|
||||
set object 10 rectangle from 140,0 to 150,15 fs solid noborder fc rgb "#dddddd" behind # end
|
||||
set label 10 "\\footnotesize{10}" at 145,5.5 center rotate by 0 front
|
||||
|
||||
#set object 900 rectangle at graph 0.5, 0.94 size graph 0.65,0.12 fs solid fc rgb "#ffffff" lc rgb "#000000"
|
||||
#set label 901 "\\textcolor[rgb]{0,0,0}{\\footnotesize{simple}}" at graph 0.28, 0.94 center front
|
||||
#set label 902 "\\textcolor[rgb]{0,0,0.8}{\\footnotesize{multi}}" at graph 0.49, 0.94 center front
|
||||
#set label 903 "\\textcolor[rgb]{0.8,0,0}{\\footnotesize{shortest}}" at graph 0.71, 0.94 center front
|
||||
|
||||
set grid y
|
||||
set format y ""
|
||||
set ytics 0 4
|
||||
set ytics add ("\\footnotesize{unkown}" 0)
|
||||
set ytics add ("\\footnotesize{standing}" 1)
|
||||
set ytics add ("\\footnotesize{walking}" 2)
|
||||
set ytics add ("\\footnotesize{stairs\\_up}" 3)
|
||||
set ytics add ("\\footnotesize{stairs\\_down}" 4)
|
||||
|
||||
unset key
|
||||
set yrange[0:6]
|
||||
set xrange[0:151]
|
||||
|
||||
plot \
|
||||
"act_bergwerk_path4_nexus_simple_interval0.dat" using ($0/2+0):1 with lines title "\\footnotesize{simple}\\hspace{-1.5mm}" lw 1.2 lc rgb "#000000"
|
||||
Reference in New Issue
Block a user