-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDraw_tree_figure.tex
More file actions
104 lines (102 loc) · 2.81 KB
/
Copy pathDraw_tree_figure.tex
File metadata and controls
104 lines (102 loc) · 2.81 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
\documentclass{article}
\usepackage[linguistics]{forest, adjustbox}
\usepackage{subcaption}
\usepackage{algorithm, setspace}
\usepackage[letterpaper,top=2cm,bottom=2cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry}
\begin{document}
\begin{figure}[H]
\captionsetup[subfigure]{font=normalsize}
\centering
\begin{subfigure}[t]{195pt}% approx 0.475 * \textwidth
\centering
\caption[]%
{$\mathcal{T}^{(1)}_{1}$}
\begin{forest}
for tree={
grow=south, draw, minimum size=3ex,
inner sep=3pt, % control the overall tree size
s sep=7mm,
l sep=6mm
}
[$\:x_{2} < 1\:$,
[$\:x_{1} < 0.5\:$, edge label={node[midway, font=\footnotesize, left]{$\mbox{ TRUE }$}}
[$\mu_{11}$, circle, edge label={node[midway,left, font=\footnotesize]{$\mbox{ TRUE }$}},]
[$\mu_{12}$, circle, edge label={node[midway,right, font=\footnotesize]{$\mbox{ FALSE }$}},]
]
[$\mu_{13}$, circle, edge label={node[midway,right, font=\footnotesize]{$\mbox{ FALSE }$}},]
]
\end{forest}
%\label{fig:mean and std of net14}
\end{subfigure}
\hfill
\begin{subfigure}[t]{195pt}
\centering
\caption[]%
{$\mathcal{T}^{(2)}_{1}$}
\begin{forest}
for tree={
grow=south, draw, minimum size=3ex,
inner sep=3pt, % control the overall tree size
s sep=7mm,
l sep=6mm
}
[$\:x_{2} < 1\:$,
[$\:x_{1} < 0.5\:$,
[$\mu_{11}$, circle]
[$\mu_{12}$, circle]
]
[$\:x_{3} < 2\:$,
[$\mu_{13}$, circle]
[$\mu_{14}$, circle]
]
]
\end{forest}
%\label{fig:mean and std of net24}
\end{subfigure}
\vskip\smallskipamount
\begin{subfigure}[t]{195pt}
\centering
\caption[]%
{$\mathcal{T}^{(3)}_{1}$}
\begin{forest}
for tree={
grow=south, draw, minimum size=3ex, inner sep=3pt, s sep=7mm, l sep=6mm
}
[$\:x_{2} < 1\:$,
[$\:x_{1} < 0.5\:$,
[$\mu_{11}$, circle]
[$\mu_{12}$, circle]
]
[$\:x_{4} < 0.75\:$,
[$\mu_{13}$, circle]
[$\mu_{14}$, circle]
]
]
\end{forest}
% \label{fig:mean and std of net34}
\end{subfigure}
\hfill
\begin{subfigure}[t]{195pt}
\centering
\caption[]%
{$\mathcal{T}^{(4)}_{1}$}
\begin{forest}
for tree={
grow=south, draw, minimum size=3ex, inner sep=3pt, s sep=7mm, l sep=6mm
}
[$\:x_{1} < 0.5\:$,
[$\:x_{2} < 1\:$,
[$\mu_{11}$, circle]
[$\mu_{12}$, circle]
]
[$\:x_{4} < 0.75\:$,
[$\mu_{13}$, circle]
[$\mu_{14}$, circle]
]
]
\end{forest}
\end{subfigure}
\vskip\smallskipamount
\caption[Short caption BLA BLA.]{Long caption BLA BLA \label{BCART}}
\end{figure}
\end{document}