如图。
希望最后的箭能够指向正确的方向。
\draw [-latex,thin] plot [smooth] coordinates {(-4.98,1.95/2+0.1) (1,0.716) (1.1,-1.19) (-2.6,-1.2)};
妇女权利委员会:
\documentclass{standalone}
\usepackage{tikz}
%
\begin{document}
%
\begin{tikzpicture}
\draw [-latex,thin] plot [smooth] coordinates {(-4.98,1.95/2+0.1) (1,0.716)
(1.1,-1.19) (-2.6,-1.2)};
\end{tikzpicture}
%
\end{document}
答案1
这里的问题与平滑选项有时会在 PGFplots 中产生错误的箭头提示。使用那里提供的解决方案,您可以获得所需的结果:
代码:
\documentclass{standalone}
\usepackage{tikz}
\makeatletter
\def\pgf@plot@curveto@handler@finish{%
\ifpgf@plot@started%
\pgfpathcurvebetweentimecontinue{0}{0.995}{\pgf@plot@curveto@first}{\pgf@plot@curveto@first@support}{\pgf@plot@curveto@second}{\pgf@plot@curveto@second}%
\fi%
}
\makeatother
%
\begin{document}
%
\begin{tikzpicture}
\draw [-latex,thin] plot [smooth] coordinates {(-4.98,1.95/2+0.1) (1,0.716)
(1.1,-1.19) (-2.6,-1.2)};
\end{tikzpicture}
%
\end{document}