visualisation/cylinder.tex

changeset 42
271fba635bce
parent 37
d7cd14b8ccc0
child 43
5f04fe297b9a
equal deleted inserted replaced
41:56d609b70a3b 42:271fba635bce
88 y expr = \thisrow{r} * sin(deg(\thisrow{angle})), 88 y expr = \thisrow{r} * sin(deg(\thisrow{angle})),
89 z = z, 89 z = z,
90 ] {\datapath/data.csv}; 90 ] {\datapath/data.csv};
91 \addlegendentry{Data} 91 \addlegendentry{Data}
92 92
93 \addplot3[origin, onlyfront] table[
94 x expr = \thisrow{r} * cos(deg(\thisrow{angle})),
95 y expr = \thisrow{r} * sin(deg(\thisrow{angle})),
96 z = z,
97 ] {\datapath/origin.csv};
98 \addlegendentry{Origin}
99
100 % Iterates 93 % Iterates
101 \addplot3[iter1,onlyfront] table[ 94 \addplot3[iter1,onlyfront] table[
102 x expr = \thisrow{r} * cos(deg(\thisrow{angle})), 95 x expr = \thisrow{r} * cos(deg(\thisrow{angle})),
103 y expr = \thisrow{r} * sin(deg(\thisrow{angle})), 96 y expr = \thisrow{r} * sin(deg(\thisrow{angle})),
104 z = z, 97 z = z,
114 x expr = \thisrow{r} * cos(deg(\thisrow{angle})), 107 x expr = \thisrow{r} * cos(deg(\thisrow{angle})),
115 y expr = \thisrow{r} * sin(deg(\thisrow{angle})), 108 y expr = \thisrow{r} * sin(deg(\thisrow{angle})),
116 z = z, 109 z = z,
117 ] {\datapath/x3_log.csv}; 110 ] {\datapath/x3_log.csv};
118 \addlegendentry{Iterates 3} 111 \addlegendentry{Iterates 3}
112
113 % Origin
114 \addplot3[origin, onlyfront] table[
115 x expr = \thisrow{r} * cos(deg(\thisrow{angle})),
116 y expr = \thisrow{r} * sin(deg(\thisrow{angle})),
117 z = z,
118 ] {\datapath/origin.csv};
119 \addlegendentry{Origin}
119 \end{axis} 120 \end{axis}
120 \end{tikzpicture} 121 \end{tikzpicture}
121 122
122 \end{document} 123 \end{document}

mercurial