changed grid gfx and TeX

This commit is contained in:
2016-02-15 12:19:44 +01:00
parent 0acccf9fdc
commit 5e46402611
4 changed files with 3697 additions and 7754 deletions

View File

@@ -18,7 +18,7 @@
\caption{
Besides the nodes and edges defined by the distinct floors, we add realistic stairs to interconnect them.
Stairs are given by three points $\vec{\spoint}_1, \vec{\spoint}_2, \vec{\spoint}_3$, defining the
starting-edge and the direction.
starting-edge $[\vec{\spoint}_1 \vec{\spoint}_2]$ and the direction $[\vec{\spoint}_2 \vec{\spoint}_3]$.
}
\label{fig:gridStairs}
\end{figure}
@@ -26,8 +26,8 @@
Stairs are defined using three points $\vec{\spoint}_1, \vec{\spoint}_2, \vec{\spoint}_3 \in \R^3$ whereby the segment
$[ \vec{\spoint}_1 \vec{\spoint}_2 ]$ describes the starting-edge, and $[ \vec{\spoint}_2 \vec{\spoint}_3 ]$ the stair's direction
(see fig. \ref{fig:gridStairs}). The corresponding grid-vertices are determined using an intersection of
those segments with the bounding-box for each vertex.
(see fig. \ref{fig:gridStairs}). The grid-vertices corresponding to the starting-edge are determined using an intersection of
the segment $[ \vec{\spoint}_1 \vec{\spoint}_2 ]$ with the bounding-box for each vertex.
To reduce the system's memory footprint, we search for the largest connected region within the graph and
remove all nodes and edges that are not connected to this region.

File diff suppressed because it is too large Load Diff

View File

@@ -17,17 +17,18 @@ set zrange[150:750]
set multiplot layout 1,1 scale 1.8,1.8 offset 0.04,-0.05
set hidden3d front
#set hidden3d front
# outer
set object 1 polygon from 1680,1158,720 to 1810,1158,720 to 1810,878,560 to 1680,878,560 fs solid fc rgb "#aaaaff" behind
set object 2 polygon from 1680,1158,400 to 1810,1158,400 to 1810,878,200 to 1680,878,200 fs solid fc rgb "#aaaaff" behind
set arrow 101 from 1810,878,560 to 1680,878,560 nohead lc rgb "#000000" lw 3 front
# stair vectors
set arrow 101 from 1810,878,560 to 1680,878,560 nohead lc rgb "#000000" lw 4
set arrow 102 from 1810,1158,720 to 1810,878,560 nohead lc rgb "#000000" lw 3
set label 101 "$\\vec{l}_1$" at 1680,878+40,560-2 center
set label 102 "$\\vec{l}_2$" at 1810,878-10,590 center
set label 103 "$\\vec{l}_3$" at 1810,1158,720+30 center
set label 103 "$\\vec{l}_3$" at 1810,1158,720+40 center
# inner
set object 4 polygon from 1510,1158,400 to 1650,1158,400 to 1650,878,560 to 1510,878,560 fs solid fc rgb "#ffaaaa" behind
@@ -35,15 +36,19 @@ set object 5 polygon from 1510,1158,720 to 1650,1158,720 to 1650,1100,760 to 151
set object 6 polygon from 1510,960,140 to 1650,960,140 to 1650,878,200 to 1510,878,200 fs solid fc rgb "#ffaaaa" behind
# platforms
set object 8 polygon from 1510,878,560 to 1810,878,560 to 1810,670,560 to 1510,670,560 fs solid fc rgb "#bbbbbb" behind
set object 9 polygon from 1510,878,200 to 1810,878,200 to 1810,670,200 to 1510,670,200 fs solid fc rgb "#bbbbbb" behind
set object 8 polygon from 1510,878,560 to 1810,878,560 to 1810,670,560 to 1510,670,560 fs solid fc rgb "#dddddd" behind
set object 9 polygon from 1510,878,200 to 1810,878,200 to 1810,670,200 to 1510,670,200 fs solid fc rgb "#dddddd" behind
# floors
set object 11 polygon from 1280,1188,400 to 1470,1188,400 to 1510,1158,400 to 1810,1158,400 to 1810,1290,400 to 1280,1290,400 fs solid fc rgb "#888888" behind
set object 12 polygon from 1280,1188,720 to 1470,1188,720 to 1510,1158,720 to 1810,1158,720 to 1810,1290,720 to 1280,1290,720 fs solid fc rgb "#888888" behind
set object 11 polygon from 1280,1188,400 to 1470,1188,400 to 1510,1158,400 to 1810,1158,400 to 1810,1290,400 to 1280,1290,400 fs solid fc rgb "#bbbbbb" behind
set object 12 polygon from 1280,1188,720 to 1470,1188,720 to 1510,1158,720 to 1810,1158,720 to 1810,1290,720 to 1280,1290,720 fs solid fc rgb "#bbbbbb" behind
splot '-' with lines lw 1 lc rgb '#555555' title '', '-' with lines lw 1 lc rgb '#555555' title '', '-' with points palette pt 7 ps 0.3 title ''
splot \
'-' with lines lw 1 lc rgb '#888888' title '',\
'-' with lines lw 1 lc rgb '#555555' title '',\
'-' using 1:2:3 with points pt 7 ps 0.4 lc rgb "#333333" title '',\
'-' with points pt 7 ps 1.1 lc rgb "#00ff00" notitle
1320 1200 400
1280 1200 400
@@ -2911,3 +2916,7 @@ e
1800 1076 672 0
e
1810 878 560
1680 878 560
1810 1158 720
e

View File

@@ -84,7 +84,7 @@
\csname LTb\endcsname%
\put(2671,1807){\makebox(0,0){\strut{}$\vec{l}_1$}}%
\put(3114,2090){\makebox(0,0){\strut{}$\vec{l}_2$}}%
\put(1602,2789){\makebox(0,0){\strut{}$\vec{l}_3$}}%
\put(1602,2824){\makebox(0,0){\strut{}$\vec{l}_3$}}%
}%
\gplgaddtomacro\gplfronttext{%
}%