I am a beginner in Latex. Just now I tried to make a chart with four elements, see Attachment.
Here is my code, i don't quite know about how to create exact the arrows as shown in the example.can anyone be helpful? The bend arrows are from my code.
Code: Select all
\usepackage{tikz,pgfplots}
\usetikzlibrary{shapes, arrows,positioning}
\tikzset{
>=stealth',
punkt/.style={
rectangle,
draw=black, thick,
text width=6.5em,
minimum height=2em,
text centered},
% Define arrow style
pil/.style={
->,
thick,
shorten <=2pt,
shorten >=2pt,}
}
\tikzstyle{linepart} = [draw, thick, dashed]
\begin{tikzpicture}[auto]
\draw [very thick] [->](0,0)--(13,0)node[above left]{$t$};
\draw [very thick] [->](0,0)--(0,6.4) node[right]{$L$};
\draw (0,0)--(1.5,2.2);
\draw (1.5,0)--(3.4772,2.9);
\draw (1.5,2.2)--(6.0835,3.8055);
\draw (3.4772,0)--(6.0835,3.8055);
\draw [very thick](0.2,2.2)--(-0.2,2.2) node[left]{$q_{1}$};
\draw [very thick](0.2,2.9)--(-0.2,2.9) node[left]{$q_{2}$};
\draw [very thick](0.2,3.8055)--(-0.2,3.8055) node[left]{$q_{3}$};
\draw [very thick](3.4772,2.9)--(6.0835,0);
\draw [very thick](1.5,2.2)--(3.4772,0);
\draw [very thick](9.5036,0)--(6.0835,3.8055);
\draw [ultra thin, dashdotted](1.5,0) -- (1.5,2.2);
\draw [ultra thin, dashdotted](3.4772,0) -- (3.4772,2.9);
\draw [ultra thin, dashdotted](6.0835,0) -- (6.0835,3.8055);
\draw[decorate,decoration={brace,amplitude=8pt}] (1.5,-0.2) -- (0,-0.2) node[midway, below,yshift=-1.8ex]{$t_{p1}(q_{1})$};
\draw[decorate,decoration={brace,amplitude=8pt}] (3.4772,-0.2) -- (1.5,-0.2) node[midway, below,yshift=-1.8ex]{$t_{p1}(q_{2})$};
\draw[decorate,decoration={brace,amplitude=8pt}] (6.0835,-0.2) -- (3.4772,-0.2) node[midway, below,yshift=-1.8ex]{$t_{p1}(q_{3})$};
\draw[decorate,decoration={brace,amplitude=8pt}] (3.4772,-1.5) -- (1.5,-1.5) node[midway, below,yshift=-1.8ex]{$t_{p1}(q_{2})$};
\draw[decorate,decoration={brace,amplitude=8pt}] (6.0835,-1.5) -- (3.4772,-1.5) node[midway, below,yshift=-1.8ex]{$t_{p2}(q_{2})$};
\draw[decorate,decoration={brace,amplitude=8pt}] (9.5036,-1.5) -- (6.0835,-1.5) node[midway, below,yshift=-1.8ex]{$t_{p2}(q_{3})$};
\end{tikzpicture}