Hỗ trợ hình vẽ

Lê Quốc Hiệp
mail@pastecode.io avatar
unknown
latex
2 years ago
952 B
10
Indexable
Never
\begin{tikzpicture}[line cap=round,line join=round,font=\footnotesize,>=stealth,scale=1]
\fill (0,0) coordinate (x1)
(-45:3) coordinate (x2)
(225:3) coordinate (x3)
(45:1) coordinate (x4)
(135:1) coordinate (x5)
($(x4)+(x5)$) coordinate (x6)
($(x2)+(x4)$) coordinate (x7)
($(x5)+(x3)$) coordinate (x8)
(90:2.2) coordinate (x9)
($(x9)-(x6)+(x8)$) coordinate (y1)
($(x9)-(x6)+(x7)$) coordinate (y2);
\draw (x9)--(y1)--(x8)--(x3)--(x1)--(x2)--(x7)--(y2)--(x9);
\draw[dashed] (x8)--(x6)--(x7) (x5)--(x1)--(x4) (x1)--(x9);
\draw (x3) to[bend right=20] (y1) (x4) to[bend right=20] (x9)
(x5) to[bend left=20] (x9) (x2) to[bend left=20] (y2)
(x1) to[bend right=4] (x9);
\draw [<->] ([shift={(0.2,-0.2)}]x2)--([shift={(0.2,-0.2)}]x7) node[right,pos=0.3]{$10$ cm};
\draw [<->] ([shift={(0.2,0.2)}]x9)--([shift={(0.2,0.2)}]y2) node[right,pos=0.5]{$50$ cm};
\draw ($0.5*(x8)$) node{$H_1$} ($0.5*(x6)$) node[left]{$H_2$} ($0.5*(x7)$) node{$H_3$};;
\end{tikzpicture}