TikZ 彎曲半箭頭看起來很奇怪

TikZ 彎曲半箭頭看起來很奇怪

請考慮以下 MWE:

\documentclass[tikz, margin=1pt]{standalone}
\usetikzlibrary{arrows.meta}
\begin{document}
  \begin{tikzpicture}
    \draw [ultra thick, domain=0:90, {Latex[left]}-] plot ({50pt*cos(\x)}, {50pt*sin(\x)});
    \draw [ultra thick, {Latex[left]}-] (0, -5pt) -- (50pt, -5pt);
  \end{tikzpicture}
\end{document}

所得的箭頭如圖所示

結果

彎曲箭頭未正確顯示的地方。

答案1

圖中的最後一條線段比縮短的箭頭短。這裡有幾個選項:

\documentclass[tikz, border=1cm]{standalone}
\usetikzlibrary{arrows.meta, bending}
\begin{document}
\begin{tikzpicture}
\draw[xshift=0pt,  ultra thick, {Latex[red, left]}-] plot[domain=0:90] ({50pt*cos(\x)}, {50pt*sin(\x)});
\draw[xshift=10pt, ultra thick, {Latex[red, left]}-] plot[domain=0:90, samples=10] ({50pt*cos(\x)}, {50pt*sin(\x)});
\draw[xshift=20pt, ultra thick, {Latex[red, left, quick]}-]  (50pt,0) arc[radius=50pt, start angle=0, end angle=90];
\draw[xshift=30pt, ultra thick, {Latex[red, left]}-]         (50pt,0) arc[radius=50pt, start angle=0, end angle=90];
\draw[xshift=40pt, ultra thick, {Latex[red, left, flex=0]}-] (50pt,0) arc[radius=50pt, start angle=0, end angle=90];
\end{tikzpicture}
\end{document}

五個彎曲箭頭,箭頭末端略有不同

相關內容