I am really puzzled about the impacts or side-effects of the nonlinear transformations. Consider the MWE
\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{arrows.meta}
\usepgfmodule{nonlineartransformations}
\makeatletter
\def\polartransformation{% from the pgfmanual section 103.4.2
\pgfmathsincos@{\pgf@sys@tonumber\pgf@x}%
\pgf@x=\pgfmathresultx\pgf@y%
\pgf@y=\pgfmathresulty\pgf@y%
}
\makeatother
\begin{document}
\begin{tikzpicture} % if you comment this out the arrow heads below will disappear
\draw[-{Latex}] (0,0) -- (1,0);
\end{tikzpicture}
\begin{tikzpicture}
\begin{scope} % p. 234 of the pgf manual
\pgftransformnonlinear{\polartransformation}
\draw[-{Latex}] (0,0) coordinate (r1) -- (3,1) coordinate (r2);
\end{scope}
\end{tikzpicture}
\begin{tikzpicture}
\draw[-{Latex}] (0,0) -- (1,0);
\draw[-{Stealth}] (2,0) -- (3,0); % a different arrow head is not affected
\end{tikzpicture}
\end{document}
It produces, as one would expect,
However, if one comments out the first picture, one gets
The arrows of type Latex
are completely messed up. Not only in the picture that uses nonlinear transformations, but also in the next one! On the other hand, the arrow of type Stealth
is not affected by this.
NOTE: This version of the question is very different from its original version. @cfr, who answers it, found that there are two separate issues. I have stripped of the part that is not covered by @cfr's brilliant answer, and with her or his permission I'd like to re-ask it.
-Latex
and-Latex[length=7mm]
will work as expected (outside the scope).