Giao an 10 bai 23
Hình vẽ Tikzuser_2730587709
latex
2 years ago
6.4 kB
5
Indexable
Never
\begin{tikzpicture}[line cap=round,line join=round,font=\footnotesize,>=stealth,scale=1] \draw (0,0) coordinate (A)--([turn]180:1) coordinate(M)--([turn]-90:0.5) coordinate(N)--([turn]90:1) coordinate(P); \draw (A)--(4,0) coordinate(B)--([turn]90:1) coordinate(C)--([turn]90:0.5) coordinate(D)--([turn]-90:1)coordinate(E)--(E)to[out=90,in=90](P); \draw ($(N)+(0.5,0)$) coordinate (G)--([turn]45:1) coordinate(H) (G)--([turn]90:2) coordinate(K)--([turn]90:1) coordinate(L) (H)to[out=80,in=100](L); \draw[thick,cyan] ($(M)+(0,-0.5)$)--($(G)+(0,-0.5)$) ($(C)+(0,-0.5)$)--($(K)+(0,-0.5)$); \node[rectangle,draw,yshift=-0.5cm] at ($(G)!1/5!(K)$){0}; \node[rectangle,draw,yshift=-0.5cm] at ($(G)!2/5!(K)$){0}; \node[rectangle,draw,yshift=-0.5cm] at ($(G)!3/5!(K)$){0}; \node[rectangle,draw,yshift=-0.5cm] at ($(G)!4/5!(K)$){0}; \end{tikzpicture} \begin{tikzpicture} [line cap=round,line join=round,font=\footnotesize,>=stealth,scale=1, place/.style={rectangle,fill=cyan!30!white,rounded corners,inner sep=0pt,minimum size=5mm,text width=3cm,align=center}, transition/.style={rectangle,fill=orange!20,rounded corners,inner sep=0pt,minimum size=5mm,text width=4cm,align=center}, every node/.style=draw,node distance=1mm] \node [transition] (A1) {\text{Biển Quy Nhơn}}; \node [transition,below=of A1] (A2) {\text{Ghềnh Ráng Tiên Sa}}; \node [transition,below=of A2] (A3) {\text{Tháp Đôi}}; \node [transition,below=of A3] (A4) {\text{Đầm Thị Nại}}; \node [transition,below=of A4] (A5) {\text{Khu du lịch Cửa Biển}}; \node [transition,below=of A5] (A6) {\text{Suft Bar}}; \node [transition,below=of A6] (A7) {\text{Nhà thờ Làng Sông}}; \node [transition,below=of A7] (A8) {\text{Khu Safari FLC}}; \node [transition,below=of A8] (A9) {\text{Khu du lịch Eo Gió}}; \node [transition,below=of A9] (A10) {\text{Khu du lịch Kỳ Co}}; \node [transition,below=of A10] (A11) {\text{Tịnh xá Ngọc Hòa}}; \node [place,left=1cm of A4] (A) {\text{Chương trình 1}}; \node [place,below=2.8cm of A] (B) {\text{Chương trình 2}}; \coordinate (C) at ($0.5*(A)+0.5*(B)+(-3,0)$); % \node at ( 0,0) [place](critical) {}; \draw [->,cyan] (C)--(A.west); \draw [->,cyan] (C)--(B.west); \foreach \i in {1,2,...,7} \draw [cyan,->] (A.east)--(A\i.west); \foreach \i in {8,9,10,11} \draw [cyan,->] (B.east)--(A\i.west); \end{tikzpicture} \begin{tikzpicture} [line cap=round,line join=round,font=\footnotesize,>=stealth,scale=1, place/.style={rectangle,fill=cyan!30!white,draw=none,inner sep=0pt,minimum size=5mm,text width=2cm,align=center}, tra/.style={rectangle,inner sep=0pt,draw=none,text width=1.25cm,align=center}, every node/.style=draw,node distance=1mm] \node [ place] (A1) {\text{Tầng 1}}; \node [ place,below=of A1] (A2) {\text{Tầng 2}}; \node [ place,below=of A2] (A3) {\text{Tầng 1}}; \node [ place,below=of A3] (A4) {\text{Tầng 2}}; \node [ place,below=of A4] (A5) {\text{Tầng 3}}; \node at ($0.5*(A1)+0.5*(A2)+(-2,0)$)[tra] (A) {\text{\vbox{khoang \\4 giường}}}; \node [tra,below=0.95cm of A] (B) {\text{\vbox{khoang \\6 giường}}}; \node at ($0.5*(B)+0.5*(A)+(-2,0)$)[draw=none,inner sep=0pt,minimum width=0.75cm] (C) {\text{nằm}}; \node [ place,above=0.5cm of A] (D) {\text{mềm}}; \node [ place,above= of D] (E) {\text{cứng}}; \node at ($0.5*(E)+0.5*(D)+(-2,0)$)[draw=none,inner sep=0pt,minimum width=0.75cm] (F) {\text{ngồi}}; \coordinate (G) at ($0.5*(F)+0.5*(C)+(-1.5,0)$); \foreach \i in {1,2} \draw[cyan] (A.east)--(A\i.west); \foreach \i in {3,4,5} \draw[cyan] (B.east)--(A\i.west); \foreach \i in {A,B} \draw[cyan] (C.east)--(\i.west); \foreach \i in {D,E} \draw[cyan] (F.east)--(\i.west); \foreach \i in {F,C} \draw[cyan] (G.east)--(\i.west); \end{tikzpicture} \begin{tikzpicture} [line cap=round,line join=round,font=\footnotesize,>=stealth,scale=1, place/.style={rectangle,fill=cyan!30!white,inner sep=0pt,minimum size=5mm,text width=2cm,align=center}, tra/.style={rectangle,inner sep=0pt,minimum width=0.75cm,align=center}, every node/.style={draw=none,node distance=1mm}] \node [ place] (A1) {\text{bò}}; \node [ place,below=of A1] (A2) {\text{gà}}; \node [ place,below=of A2] (A3) {\text{bò}}; \node [ place,below=of A3] (A4) {\text{riêu cua}}; \node [ place,below=of A4] (A5) {\text{cá}}; \node at ($0.5*(A1)+0.5*(A2)+(-2,0)$)[tra] (A) {\text{phở}}; \node at ($0.5*(A3)+0.5*(A5)+(-2,0)$)[tra] (B) {\text{bún}}; \node at ($0.5*(B)+0.5*(A)+(-2,0)$)[tra] (C) {}; \foreach \i in {1,2} \draw[cyan] (A.east)--(A\i.west); \foreach \i in {3,4,5} \draw[cyan] (B.east)--(A\i.west); \foreach \i in {A,B} \draw[cyan] (C.east)--(\i.west); \end{tikzpicture} \begin{tikzpicture} [line cap=round,line join=round,font=\footnotesize,>=stealth,scale=1, place/.style={rectangle,fill=cyan!30!white,inner sep=0pt,minimum size=5mm,text width=2cm,align=center}, tra/.style={rectangle,text width=4cm,align=center}, every node/.style={draw=none,node distance=1mm}] \node [ place] (A1) {\text{Máy bay}}; \node [ place,below=of A1] (A2) {\text{Tàu hỏa}}; \node [ place,below=of A2] (A3) {\text{Xe khách}}; \node [ place,below=of A3] (A4) {\text{Máy bay}}; \node [ place,below=of A4] (A5) {\text{Tàu hỏa}}; \node [ place,below=of A5] (A6) {\text{Xe khách}}; \node at ($0.5*(A1)+0.5*(A3)+(-3.5,0)$)[place,fill=cyan!70!white] (A) {\text{Xe khách}}; \node at ($0.5*(A4)+0.5*(A6)+(-3,0)$)[place,fill=cyan!70!white] (B) {\text{Tàu hỏa}}; \node at ($0.5*(B)+0.5*(A)+(-3,0)$)[place,fill=orange!70!white] (C) {\text{Phương tiện}}; \node[tra,above=1.6cm of A] (D) {\text{\vbox{Phương tiện cho chặng\\Lào Cai - Hà Nội}}}; \node[tra,above=1cm of A1] (E) {\text{\vbox{Phương tiện cho chặng\\Hà Nội - Hồ Chí Minh}}}; \foreach \i in {1,2,3} \draw[orange,->] (A.east)--(A\i.west); \foreach \i in {4,5,6} \draw[orange,->] (B.east)--(A\i.west); \foreach \i in {A,B} \draw[cyan,->] (C.east)--(\i.west); \draw (A.north)--([turn]-40:0.5)--([turn]-146:0.25)--([turn]90:1.32)--([turn]-90:0.32)--([turn]-90:1.32)--([turn]90:0.25)--(A.north); %\draw [line width=0.5mm,double distance=12pt,line cap=butt,-{Implies}] (D.south) -- (A.north); \draw (A1.north)--([turn]45:0.5)--([turn]-135:0.2)--([turn]90:0.65)--([turn]-90:0.3)--([turn]-90:0.65)--([turn]90:0.2)--(A1.north); %\draw [line width=0.5mm,double distance=12pt,line cap=butt,-{Implies}] (E.south) -- (A1.north); \end{tikzpicture}