aboutsummaryrefslogtreecommitdiff
path: root/img/poiseuille2d_grid.tikz
blob: f29c206dcaf071e63adf64e8da90682abde4959d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\begin{tikzpicture}
\begin{axis}[
	scale only axis,
	height=\textwidth)/4,
	width=\textwidth,
	axis equal,
	xmin=0, xmax=4,
	ymin=0, ymax=1,
	x tick label style={/pgf/number format/.cd, use comma},
	y tick label style={/pgf/number format/.cd, use comma},
	scatter/classes={
		1={color=blue!50!white},
		2={color=gray!70!black},
		3={color=green!70!black},
		4={color=red!70!black}
	},
	legend style={
		at={(0.5,-0.2)},
		anchor=north,
		draw=none,
		column sep=1ex
	},
	legend columns=4,
	legend image post style={scale=1.5}
]

\addplot[scatter,only marks,point meta=explicit] table[
	x=x, y=y, point meta=\thisrow{geometry},
	col sep=semicolon,
	/pgf/number format/read comma as period
] {img/data/poiseuille2d_re10_n10_grid.csv};

\addlegendentry{Fluid}
\addlegendentry{Wand}
\addlegendentry{Einfluss}
\addlegendentry{Ausfluss}
\end{axis}
\end{tikzpicture}