aboutsummaryrefslogtreecommitdiff
path: root/img/poiseuille2d_grid.tikz
blob: 24fe56a35bfc2c6d2ad365fc0cd84a934ae54839 (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
\begin{tikzpicture}
\begin{axis}[
	scale only axis,
	height=0.95*\textwidth/4,
	width=0.95*\textwidth,
	axis equal,
	xmin=0, xmax=4,
	ymin=0, ymax=1,
	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}