-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlaminar-reconstructions.tex
73 lines (63 loc) · 2.48 KB
/
laminar-reconstructions.tex
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
%!TEX root = laminar-reconstructions.tex
\input{tikz_preamble}
\definecolor{RYB1}{rgb}{0.63, 0.74, 0.78}
\definecolor{RYB2}{rgb}{0.18, 0.42, 0.41}
\definecolor{RYB6}{rgb}{0.85, 0.55, 0.13}
\definecolor{RYB5}{rgb}{0.69, 0.67, 0.66}
\definecolor{RYB3}{rgb}{0.72, 0.26, 0.06}
\definecolor{RYB4}{RGB}{251,220,127}
\pgfplotscreateplotcyclelist{newcolors}{
{RYB5,every mark/.append style={fill=RYB2!30,mark size={2}},mark=*},
{RYB2,every mark/.append style={fill=RYB2,mark size={2}},mark=*},
{RYB3,every mark/.append style={fill=RYB3,mark size={2}},mark=triangle*},
{RYB4,every mark/.append style={fill=RYB4,mark size={2}},mark=diamond*},
{RYB5,every mark/.append style={fill=RYB5,mark size={2}},mark=pentagon*},
{RYB6,every mark/.append style={fill=RYB6,mark size={2}},mark=10-pointed star},
{RYB7,every mark/.append style={fill=RYB7},mark=*},
}
\pgfplotsset{
standard/.style={
scale only axis,
width=0.5\textwidth,
enlarge x limits=0.05,
enlarge y limits=0.05,
max space between ticks=30,
cycle list name=newcolors,
}
}
\begin{document}
\pagestyle{empty}
\begin{tikzpicture}
\begin{groupplot}[group style={group size=2 by 1,horizontal sep=1.7cm}]
\nextgroupplot[
standard,
xlabel=$x_2$,
ylabel={$\bar{c}$},
width=0.3\textwidth,
height=0.2\textwidth,
enlarge x limits=0,
legend style={
at={(0.5,1.0)},
inner sep=1pt,
anchor=south,
legend columns=2,
legend cell align={left},
draw=none,
fill=none,
transpose legend,
},
legend style={/tikz/every even column/.append style={column sep=0.25cm}},
ylabel near ticks,
ymin=0,
enlarge y limits=0,
ymax=55,
]
\addlegendimage{line width=0.1cm,dashed,no marks};
\addplot+[very thick,no marks,dotted] table[col sep=comma] {../data/laminar_channel/prediction/2000N-3Ny-2Nx-bous.csv};
\addplot+[very thick,no marks,dashed] table[col sep=comma] {../data/laminar_channel/prediction/2000N-3Ny-2Nx-rand-26.csv};
\addplot+[very thick,no marks] table[col sep=comma] {../data/laminar_channel/prediction/2000N-3Ny-2Nx-peeling-26.csv};
\addplot+[black,line width=0.1cm,loosely dashed,no marks] table[col sep=comma] {../data/laminar_channel/prediction/2000N-3Ny-2Nx-exact.csv};
\legend{Exact,Boussinesq,Randomized low-rank approx., Fast MFM};
\end{groupplot}
\end{tikzpicture}
\end{document}