
이 포럼의 한 분 덕분에 제가 그려야 했던 몇 가지 삼각형을 처리할 수 있었습니다. 이제 더 작은 문제입니다. 사진에서 삼각형을 그렸는데 점에 접하는 아치가 빠졌네요. 센터를 조정할 때마다 움직여서 처음부터 다시 시작해야 했습니다. 호와 문자 오메가, D2만 있으면 됩니다.
지금까지 내가 한 일은 다음과 같습니다.
\begin{figure}[h]
\centering
\begin{tikzpicture}[>=latex]
\coordinate (A) at (0,0);
\coordinate (B) at (7,0);
\coordinate (C) at (5,-4);
\coordinate (ABmid) at (A -| C);
\coordinate (D) at (0,-4);
\coordinate (E) at (10,-4);
\coordinate (F) at (2,0);
\draw[->] [thick] (A)--(B) node[above,midway]{$U_2$};
\draw[->] [thick] (C)--(A) node[left,midway]{$W_2$};
\draw[->] [thick] (C)--(B) node[right,midway]{$C_2$};
\draw [thick,dashed] (D)--(E);
\draw[->] [thick] ($(B)+(0,5pt)$)--($(ABmid) +(0,5pt)$) node[above,pos=0.5]{$C_{\theta2}$};
\draw[thick,dashed] (C)--(F);
\draw[->] [thick] (C)--(ABmid) node[left,pos=0.7]{$C_{a2}$};
\pic["$\beta_{2b}$",draw, angle eccentricity=1.2,angle radius=15mm] {angle = F--C--D};
\pic["$\beta_2$",draw, angle eccentricity=1.2,angle radius=25mm] {angle = A--C--D};
\pic["$\alpha_2$",draw, angle eccentricity=1.2,angle radius=12mm] {angle = E--C--B};
\draw[thick] (0,-9) arc (180:0:5);
\end{tikzpicture}
\caption{\textit{Triangoli di velocità all'estremità della girante}}
\label{fig:Triangoli girante}
\end{figure}
답변1
이와 같이?
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc,angles,quotes}
\begin{document}
\begin{figure}[h]
\centering
\begin{tikzpicture}[>=latex]
\coordinate (A) at (0,0);
\coordinate (B) at (7,0);
\coordinate (C) at (5,-4);
\coordinate (ABmid) at (A -| C);
\coordinate (D) at (0,-4);
\coordinate (E) at (10,-4);
\coordinate (F) at (2,0);
\draw[->] [thick] (A)--(B) node[above,midway]{$U_2$};
\draw[->] [thick] (C)--(A) node[left,midway]{$W_2$};
\draw[->] [thick] (C)--(B) node[right,midway]{$C_2$};
\draw [thick,dashed] (D)--(E);
\draw[->] [thick] ($(B)+(0,5pt)$)--($(ABmid) +(0,5pt)$) node[above,pos=0.5]{$C_{\theta2}$};
\draw[thick,dashed] (C)--(F);
\draw[->] [thick] (C)--(ABmid) node[left,pos=0.7]{$C_{a2}$};
\pic["$\beta_{2b}$",draw, angle eccentricity=1.2,angle radius=15mm] {angle = F--C--D};
\pic["$\beta_2$",draw, angle eccentricity=1.2,angle radius=25mm] {angle = A--C--D};
\pic["$\alpha_2$",draw, angle eccentricity=1.2,angle radius=12mm] {angle = E--C--B};
\draw[thick] ($(C)+(60:5)-(90:5)$) arc[start angle=60,end angle=120,radius=5]
coordinate[pos=0.25] (p);
\draw[<-] (p) -- ++ (-180+75:1) node[anchor=75]{$D_2$};
\draw[<-] ([yshift=-0.5cm]C) arc[start angle=90,end angle=110,radius=4.5]
node[midway,below=1ex]{$\omega$};
\end{tikzpicture}
\caption{\textit{Triangoli di velocit\`a all'estremit\`a della girante.}}
\label{fig:Triangoli girante}
\end{figure}
\end{document}
앞으로는 완전한 최소한의 작업 예제를 게시해 주시기 바랍니다. 그렇지 않으면 코드를 보고 어떤 라이브러리가 필요한지 아는 사람만이 질문에 즉시 답할 수 있기 때문입니다.