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}

五支弯曲的箭头,箭头末端略有不同

相关内容