Hi all,
Could you please help me to draw the attached graph in latex? I tried multiple time but I am unable to do it.
Thank you very much for your time.
Best
Graphics, Figures & Tables ⇒ How to draw a figure in Latex
How to draw a figure in Latex
- Attachments
-
- a.png (148.96 KiB) Viewed 1396 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
How to draw a figure in Latex
I'm not sure what the problem is, but something like this as a starting point
might help.
KR
Rainer
Code: Select all
\documentclass{article}
\usepackage{tikz}
\newcommand*\foo{Just a little text to put into the box}
\begin{document}
\begin{tikzpicture}[>=latex, node distance=2cm]
\coordinate (dummy) at (0,0);
\node[left of=dummy, rectangle, draw, text width=3cm] (A) {\foo};
\node[right of=dummy, rectangle, draw, text width=3cm] (B) {\foo};
\node[below of=dummy, rectangle, draw, text width=2cm] (C) {Energy};
\node[below of=C] (dummy2) {};
\node[left of=dummy2, rectangle, draw, text width=3cm] (D) {\foo};
\node[right of=dummy2, rectangle, draw, text width=3cm] (E) {\foo};
\draw[thick, ->] (C) -- (A.south);
\draw[thick, ->] (C) -- (B.south);
\draw[thick, ->] (C) -- (D.north);
\draw[thick, ->] (C) -- (E.north);
\end{tikzpicture}
\end{document}
KR
Rainer