
내 시도는 다음과 같습니다.
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes}
\begin{document}
\pagestyle{empty}
\tikzstyle{block} = [rectangle, draw, fill=blue!20,
text width=5.5em, text centered, rounded corners, minimum height=2em]
\tikzstyle{cloud} = [ellipse, draw, fill=red!20, text width=5em, align=center, inner xsep=0pt]
\begin{figure}[ht] % 'ht' tells LaTeX to place the figure 'here' or at the top of the page
\centering % centers the figure
\scalebox{0.6}{%
\begin{tikzpicture}[node distance=3cm]
\node[block] (A) {A};
\node[block,right of = A] (B) {B};
\node[block,below of = B] (D) {D};
\node[cloud,below of = D] (F) {F};
\node[block,right of =D] (E) {E};
\node[cloud,right of = F] (G) {G};
\node[block,above right of = E] (C) {C};
\node[cloud,right of=G] (H) {H};
\path (A) -- (B) node [midway] {=};
\path (D) -- (E) node [midway] {+};
\path (B) -- (C) node [midway] {+};
\draw[very thick]
(B) edge[below] node{} (D);
\draw[dashed, very thick]
(D) edge[below] node{} (F);
\draw[dashed,very thick]
(E) edge[below] node{} (G);
\draw[dashed,very thick]
(C) edge[below] node{} (H);
\end{tikzpicture}
}
\end{figure}
\end{document}
아래 그림에서는 D 노드와 E 노드를 중앙에 배치하고 } 를 아래로 향하게 하는 데 어려움이 있습니다...
어떤 도움이라도 주시면 감사하겠습니다.
업데이트: Zarko의 답변을 적용하려고 하는데 더 긴 문자열을 쓰려고 하면 다음 그림이 나타납니다.
답변1
편집하다: 이제 편집된 질문으로 간주됩니다.
이 이미지는 질문의 첫 번째 버전에 제시된 스케치를 재현합니다.
%\documentclass{article}
\documentclass[margin=3mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,
chains,
decorations.pathreplacing,
calligraphy,% had to be load after decorations.pathreplacing
positioning,
shapes}
\begin{document}
%\begin{figure}[ht]
% \centering
\begin{tikzpicture}[
node distance = 5mm and 3mm,
start chain = going right,
BC/.style = {decorate,
decoration={calligraphic brace, amplitude=4pt,
raise=5pt},
very thick, pen colour={black}
},
box/.style = {rounded corners=2pt, draw, fill=blue!20,
minimum height=4ex, inner xsep=5pt},
C/.style = {ellipse, draw, fill=red!20,
align=center, font=\linespread{0.84}\selectfont,
inner xsep=-4pt},
every edge/.style = {draw, densely dashed, -Straight Barb}
]
\begin{scope}[nodes={on chain}]
\node[box] (A) {Observation};
\node {$=$};
\node[box] (B) {Computer Model};
\node {$+$};
\node[box] (C) {Measurement error};
\end{scope}
\node[box, below left =of B.south] (D) {Emulator};
\node[box, below right=of B.south] (E) {Bias Term};
\node[below=of B] {$+$};
% brace
\draw[BC] (D.north west) -- (E.north east);
% circles
\node[C,below=of D] (F) {Code\\ Uncertainity};
\node[C,below=of E] (G) {Model\\Discrapancy};
\node[C,below=of C |- E.south] (H) {Experimental\\ uncertainity};
% edges
\path (D) edge (F)
(E) edge (G)
(C) edge (H);
\end{tikzpicture}
% \end{figure}
\end{document}
(나에게는) 질문을 한 후에 무엇을 그리고 싶은지 불분명합니다.